Linked Questions

1
vote
1answer
122 views

Add my User to www-data group on fedora? [duplicate]

So I am setting up a localhost for web development on my Fedora 20 desktop. I have installed httpd and so forth... The issue I have is adding my user to the /var/www and to /var/www/html. I looked ...
0
votes
1answer
105 views

Ubutnu Server Web exposed folder recommended permissions [duplicate]

Possible Duplicate: What’s the best way of handling permissions for apache2’s user www-data in /var/www? I am setting up my first server from scratch and as i am completely novice at this i ...
0
votes
0answers
77 views

Can I Set /var/www/ to 755 File Permissions and Assign Owner to www-data and Stay Secure? [duplicate]

So I am pretty new to managing my own permissions, and am looking for the cross between ease of use and security. What I have found as the easiest way to manage multiple domains on a VPS (Ubuntu ...
71
votes
4answers
42k views

What permissions should my website files/folders have on a Linux webserver?

This is a Canonical Question about File Permissions on a Linux web server. I have a Linux web server running Apache2 that hosts several websites. Each website has its own folder in /var/www/. ...
3
votes
2answers
2k views

Setting umask for all users

I'm trying to set the default umask to 002 for all users including root on my CentOS box. According to this and other answers, this can be achieved by editing /etc/profile. However the comments at ...
4
votes
3answers
4k views

Can I override my umask using ACLs to make all files created in a given directory world readable?

Assume that my umask is 0077. I have a directory, foo, that I want to have special permissions applied to it. All files I create in foo should be world readable, and all directories should be world ...
1
vote
1answer
4k views

Allow Permissions for Multiple FTP Users to Edit Public HTML Folder - Linux

On a dedicated server hosting one website, running Linux with no control panel, I'm trying to grant permission for multiple users to edit the public HTML folder (/var/www/html/). I want to make sure ...
5
votes
1answer
2k views

How do I set permissions structure for multiple users editing multiple sites in /var/www on Ubuntu 9.10?

I'm setting up an Ubuntu server that will have 3 or 4 VirtualHosts that I want users to be able to work in (add new files, edit old files, etc.). I currently plan on storing the sites in /var/www but ...
1
vote
2answers
733 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 ...
2
votes
1answer
662 views

How can I run svn up as www-data?

I have a website on an Ubuntu box. I've changed the ownership of the files to www-data:www-data. To update the files, I usually have to run sudo svn up, but that changes some of the file ownerships ...
0
votes
2answers
817 views

Ubuntu : Add, edit, delete in var/www directory issue

I just installed Ubuntu with LAMP, to use it as development and test server. Under terminal and using : sudo, I created a php test file and it's working, but I can't copy files using the graphical ...
0
votes
1answer
274 views

How to setup Ubuntu for WordPress and stay SECURE?

I am switching to one or RackSpace's cloud servers, and I got it up and running fine. The problem is that one of my websites use WordPress. For WordPress to be able to automatically update, or upload ...
0
votes
3answers
190 views

Apache Server files in /var/www/

All right... I have my server set up and I have 4 sites residing in /var/www/. Each site directory and the files underneath it are all root:www-pub according to this post: What's the best way of ...
1
vote
3answers
307 views

var/www/ permissions [closed]

I have purchases a server today and I am almost through configuring it, I have managed to install mysql and have enabled a firewall which allows access to ports 80, 22 and 443 I am trying to test out ...
0
votes
1answer
250 views

Recommended Setup for Ubuntu Web Server

Sorry if this has been talked about before and please point me to those references. I am now running my own Ubuntu web server however I have been hitting problems with authorities and FTPing up files. ...
-1
votes
1answer
180 views

File Permission on /var/www/html [closed]

I changed the file permission. Now I am not able to access the website. nginx + php-fpm previously, chown -R user1:user1 /var/www/site.com I read in internet, and then i changed the file ...
1
vote
0answers
228 views

FTP and Apache permission issues … And sftp, and ssh, and php scripts

I've read the previous posts but I'm still looking for a good way to manage directories permissions and users. Here's the layout : You have a php app whose code is provided by 3rd party. Dirty ...
0
votes
5answers
97 views

Auto 775 permissions

Guys I have a linux dedicated server. There are multiple users who manage specific directories on the server. But if a user uploads something, for example a plugin/library. When it is executed it ...
0
votes
1answer
113 views

Apache Server Joomla files in /var/www/

All right... I have my server set up and I have 4 Joomla! sites residing in /var/www/. Each site directory and the files underneath it are all root:www-pub according to this post: What's the best ...
0
votes
1answer
86 views

file permissions for scripts that need write access

This question helped me quite a bit: What's the best way of handling permissions for apache2's user www-data in /var/www? I would like to take the above question further, I want to be able ...