1
vote
1answer
133 views

Debian - File Permissions and umask

This might be a noob question, but here goes ^^: I've just set up a debian wheezy server, and Installed laravel on it. Anyway, I'm having some trouble both as to what the file permissions should be, ...
1
vote
2answers
348 views

debian - permissions for multiple users in apache

I am trying to setup permissions for a directory in my apache2. I am going to show a scenario so its easier to explain and understand: This is my directory listing with permissions -> root:root ...
4
votes
3answers
135 views

How to maintain file/folder ownserhip and permissions over time?

We have folders on a number of our (debian) servers that require various users (both real and system) to be able to read and/or write. We've come up with a particular file permissioning and ownership ...
-1
votes
1answer
158 views

Why can't my apache open stream? [closed]

I'm trying to copy and unlink files on my apache server. I'm trying to doing this about 1 hour ago. I can't imagine what's the problem. This is my source: if ...
-1
votes
2answers
46 views

What is a good approach to install a webserver? [closed]

I wan't to install Lighttpd on my V-Server under Debian. I'm new to Linux and I wonder if I should install Lighttpd as root or as a new User to avoid security issues?
1
vote
1answer
439 views

Group permission inheritance and umask

Edit: in my case virtual_use_local_privs=TRUE did the trick. i'm trying to force newly created files and directories inside foo/ directory to be owned by nginx user and to set the right permissions ...
1
vote
1answer
285 views

Should backups be owned by root:backup?

I have a central backup server running Debian which holds backups of various other hosts in the network, stored in a structure like /media/backup/imap /media/backup/wiki With imap and wiki being ...
0
votes
3answers
199 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 ...
7
votes
1answer
584 views

Do /usr/local and /usr/local/bin need to be group-writable? If so, why?

While it's possible that it's a fluke of a package I installed or the VPS image, it appears that /usr/local and /usr/local/bin (both of which are owned by root:staff) are group-writable by default on ...
0
votes
1answer
662 views

Permission denied on Netgear ReadyNAS duo

This topic: http://www.readynas.com/forum/viewtopic.php?f=36&t=53960 My Netgear ReadyNAS duo (it's a Debian box) is running PHP. I wrote a script for organizing some files. I succesfully read ...
5
votes
2answers
2k views

push commits to git (gitolite) repository messes up file permissions (no more trac access)

already posted here so feel free to answer there. everytime i commit/push something to the git server the file permissions change (all added/edited files in the repository have no read and execute ...
0
votes
1answer
794 views

linux timestamp permission error with winscp

I added a user to a group and set the file and dir content to 775. When i use winscp to modify a file it complains it cant set the timestamp bc of a permission error. But it is able to update the file ...
0
votes
3answers
784 views

Why cant a group member modify a file in a group he is part of?

-edit- i figured it out. I needed to use adduser username group instead. I added a user with the command useradd -G myapp_user newusername then i changed the group on the public folder that i ...
0
votes
1answer
2k views

Specific file permissions in .deb

I can create a .deb package successfully with all the file owner fields set correctly. Unfortunately the permission fields are ignores. For example I install one file with: install -v -cm 400 -o ...
144
votes
3answers
92k views

What's the best way of handling permissions for apache2's user www-data in /var/www?

Has anyone got a nice solution for handling files in /var/www? We're running Name Based Virtual Hosts and the apache2 user is www-data. We've got two regular users & root. So when messing with ...