Not logged in. · Lost password · Register
Forum: General Help and Support Server Setup RSS
Regarding lib directory permissions.
chomwitt #1
Member since Nov 2008 · 6 posts
Group memberships: Members
Show profile · Link to this post
Subject: Regarding lib directory permissions.
In installation guide it says:

lib/ directory: This directory must be readable by the public for style sheets to display. 755 works fine

My question is : Assuming owner is foouser:www-data , isnt enough to have 750 ? Isnt the apache
that must have access to the css files?
schplurtz (Moderator) #2
Member since Nov 2009 · 518 posts · Location: France, Finistère
Group memberships: Global Moderators, Members
Show profile · Link to this post
So long as your webserver and php (usually the same user) have read access, this is OK.
755 is just so common in unix world. But, foouser:www-data & 750 dir permission will work too.

Note that write access, 770 in your case, in lib/tpl and lib/plugins and their subdir will allow the extension manager to add and update plugins and templates. Without write acccess in lib/tpl and lib/plugins, extension manager will not be useful. If you adjust the permission, files and dir created by the extension manager will belong to www-data:www-data.
This post was edited on 2019-01-05, 15:08 by schplurtz.
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Go to forum
This board is powered by the Unclassified NewsBoard software, 20150713-dev, © 2003-2015 by Yves Goergen
Current time: 2020-04-06, 05:00:24 (UTC +02:00)