folder - file permissions and ownership Topic is solved

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Locked
linuxpc4me
Joomla! Intern
Joomla! Intern
Posts: 72
Joined: Thu Nov 10, 2011 12:54 pm

folder - file permissions and ownership

Post by linuxpc4me » Sun Feb 09, 2020 7:40 pm

This is probably a groaner for most who read it, but I cannot find a definitive answer.
The docs say the website folder should give folder permissions of 755, files 644 and config file as 444

What I cannot find is ownership. When I installed Joomla, all is owned be root.
Should it be changed to www-data (am on Ubuntu 18.04 running apache2), or even to local user :chown bubba:bubba ?

Thanks

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: folder - file permissions and ownership

Post by Per Yngve Berg » Sun Feb 09, 2020 7:58 pm

That depends of the PHP-webserver interface.

With fcgi or FPM-cgi, Joomla will run as the owner of the index.php file

With apach2handler it will be www-data or similar.

linuxpc4me
Joomla! Intern
Joomla! Intern
Posts: 72
Joined: Thu Nov 10, 2011 12:54 pm

Re: folder - file permissions and ownership

Post by linuxpc4me » Sun Feb 09, 2020 8:07 pm

Per Yngve Berg wrote:
Sun Feb 09, 2020 7:58 pm
That depends of the PHP-webserver interface.

With fcgi or FPM-cgi, Joomla will run as the owner of the index.php file

With apach2handler it will be www-data or similar.
Thanks so much for your help

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30940
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: folder - file permissions and ownership

Post by Per Yngve Berg » Sun Feb 09, 2020 8:42 pm


User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44096
Joined: Sat Apr 05, 2008 9:58 pm

Re: folder - file permissions and ownership

Post by Webdongle » Mon Feb 10, 2020 12:25 am

Is it on your computer or a Host computer on the internet?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

linuxpc4me
Joomla! Intern
Joomla! Intern
Posts: 72
Joined: Thu Nov 10, 2011 12:54 pm

Re: folder - file permissions and ownership

Post by linuxpc4me » Mon Feb 10, 2020 11:04 pm

Webdongle wrote:
Mon Feb 10, 2020 12:25 am
Is it on your computer or a Host computer on the internet?
It is on local server at my office.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 44096
Joined: Sat Apr 05, 2008 9:58 pm

Re: folder - file permissions and ownership

Post by Webdongle » Tue Feb 11, 2020 9:54 am

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

linuxpc4me
Joomla! Intern
Joomla! Intern
Posts: 72
Joined: Thu Nov 10, 2011 12:54 pm

Re: folder - file permissions and ownership

Post by linuxpc4me » Fri Feb 14, 2020 3:16 pm

Thanks to all who provided knowledge on this.... I now know the correct permissions and have set them.

Thanks again


Locked

Return to “Administration Joomla! 3.x”