Linked Questions

1
vote
2answers
2k 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). ...
1
vote
1answer
2k 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, ...
0
votes
1answer
1k 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
2answers
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
1answer
881 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
1answer
642 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 ...
0
votes
2answers
971 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 ...
1
vote
2answers
311 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
1answer
402 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 ...
1
vote
1answer
469 views

How to organize web server directories on Linux? [duplicate]

Possible Duplicate: What are the best linux permissions to use for my website? I'm searching for an easy way to organize web server directories on Linux. Users can use FTP to upload their web ...
-2
votes
1answer
413 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. (...
0
votes
1answer
410 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 ...
0
votes
3answers
187 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 ...
-2
votes
1answer
296 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
votes
2answers
237 views

Risks to have 777 on uploads directory [duplicate]

I have set the permission on my uploads directory(in which end user can upload their documents) to 777. I understand this is not a good idea, but the files wont get uploaded with any other permission....

15 30 50 per page