Linked Questions
73 questions linked to/from What permissions should my website files/folders have on a Linux webserver?
2
votes
2
answers
3k
views
Should apache have write access to the web root? [duplicate]
Possible Duplicate:
What are the best linux permissions to use for my website?
I'm trying to get a canonical answer on how to set up permissions for apache vis-a-vis the web root (/var/www). ...
0
votes
3
answers
2k
views
Giving permission 777 to folders/files Cons? [duplicate]
I am trying to understand how giving 777 permission to folders or files works. I did some research and understand that 777 permission is not the best when it comes for security. Referring to Web ...
1
vote
1
answer
2k
views
What Ownership should `public_html` have so it can use 750? (And not 751) [duplicate]
Question: What ownership does Apache need so that it does not require execute permissions for the world on public_html (751)?
Background: When I changed the php.ini settings through cPanel, there was ...
1
vote
1
answer
3k
views
Permission error when folder permission is 755 [duplicate]
Possible Duplicate:
What are the best linux permissions to use for my website?
When I trying upload file with PHP to a folder that folder should have 777 permission, but this is a security risk, I ...
0
votes
2
answers
3k
views
Permissions, owner, group inheritance? [duplicate]
I don't understand restrictions in terms of directories nesting. For example, /var/www/folder/index.html directories. What permissions, owner, group should every directory and file have? Is there such ...
0
votes
1
answer
499
views
Is there any security issue when I set `apache` as the only owner of websites files and folders? [duplicate]
My server is centos 7,with php 5.4,apache 2.4.
My website locate in /var/www.
As for apache is the only one user read or write in /var/www,I set all files and folders owner and group to apache:
...
0
votes
1
answer
2k
views
Problem with file owner/group [duplicate]
I have files on my website which I need access to files on my server and they also need to be able to be edited by the webserver. Now with my current setup I cant seem to do that.
If the owner/group ...
-2
votes
2
answers
2k
views
Apache unable to write on 2777 folder [duplicate]
I am using smarty template system on my website.
When it tries to cache some data, a fatal error occurs:
Fatal error: Smarty error: unable to write to $compile_dir '/var/www/html/cache/frontend'. Be ...
0
votes
1
answer
2k
views
Understanding Linux Permissions - Apache with user "apache" [duplicate]
I'm with some problems understanding the Linux Permissions, users/groups.
I'm running a PHP Web Application with Apache. The user running Apache is the linux user "apache".
The folder with the PHP ...
0
votes
1
answer
1k
views
How to add write permissions to php/apache? [duplicate]
I've got the following scenario:
There's a folder named "uploads". It's owned by "root" and it's group is "webmasters". Permissions are set to 755.
drwxrwsr-x 2 root webmasters 4096 Mar 20 22:49 ...
0
votes
1
answer
936
views
Allow WordPress to Update on Local Apache2 Install [duplicate]
Possible Duplicate:
What are the best linux permissions to use for my website?
I'm having an issue that I can't seem to find an answer for, i've already scoured Google & SF and haven't found ...
-1
votes
1
answer
1k
views
Setup web folder for multiple developers and Apache [duplicate]
I'm trying to setup a web folder on LAMP with Ubuntu 14.04 where :
Apache/PHP can read everything inside. (r-x for folders and r-- for files)
Multiple users in a "devs" group can do anything inside. (...
-2
votes
1
answer
843
views
setup apache www directory for multiple users over sftp [duplicate]
I have standard Ubuntu 16.04 droplet over digitalocean with LAMP stack.
By default I have one user with root privileges (for admin use). I access any directory from root through ssh like with ...
1
vote
2
answers
386
views
Wordpress Directory Permission to allow uploads, plugin folders, etc [duplicate]
Possible Duplicate:
What are the best linux permissions to use for my website?
I have a wordpress pre-made site which were developed on my localmachine, and i uploaded it too a vps running on ...
0
votes
1
answer
795
views
Change permission for home directory on debian [duplicate]
My Debian machine is running DirectAdmin and we have build our own CMS. By now, when we create a new website a new folder and user will created down the /home/ directory.
As an developer to setup ...