Support

Admin Tools

#32459 correct server permissions

Posted in ‘Admin Tools for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by on Wednesday, 11 March 2020 18:17 CDT

josflachs
Strictly speaking, not a Akeeba problem. Though I really hope you can help me out here. You're the experts on server settings and permissions. That's why I try it. If outside the scope of support, I understand.

Last Friday I had a server problem om Xampp, where I develop my sites. I reinstalled Xampp on Ubuntu 18.04. Getting the right permissions is what I'm struggling with right now. I can install Joomla, but with some problems I didn't have before. I have to fill ftp settings when setting up a new site. Updating doesn't work. I get the error:
Notice: Trying to access array offset on value of type bool in /opt/lampp/htdocs/3fan/administrator/components/com_joomlaupdate/views/default/view.html.php on line 92.

Removing the installation folder I have to do now manually.

I have added my user jos to the group www-data.
Site permissions are:
Owner : Me (create and delete)
Group: jos (create and delete)
Others: (create and delete)

I used this tutorial to set the permissions. In the past that did the trick for me. I've been fighting with this from Friday, every day. It's probably very easy - if you know it. Which I don't. I'm a Linux user, not an export on it.

Hope you can help me.

tampe125
Akeeba Staff
Hello,

I ditched XAMPP long time ago, because it was a pain to use and maintain, it was way easier to simply use Linux native tools.
Anyway, most likely you simply have to change the username and password of the Apache service, to match the username and the group of your user. More info here: https://askubuntu.com/a/221593/72479

Important disclaimer: please note that in this way your web installation is not secure, because any malicious script will run with the same privileges of you (ie sudo, ability to change files outside web folder etc etc). Since it's a local development server, I guess you already know that and you can live with it. Just be aware that your sites will have the same power as you.

Davide Tampellini

Developer and Support Staff

🇮🇹Italian: native 🇬🇧English: good • 🕐 My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!