1
vote
1answer
27 views

Where does Debian take the default umask from?

With a fresh ssh login: $ umask 0007 But: $ find . -maxdepth 1 -name '.*' -type f | xargs grep 007 | less $ # grep 007 /etc/profile # # grep -i umask /etc/login.defs # UMASK ...
1
vote
2answers
1k views

How to set umask globally?

I am using a private user group setup, i.e. a user foo's home directory is owned by foo:foo, not foo:users. For this to work, I need to set the umask to 002 globally. After a quick grep -RIi umask ...
0
votes
1answer
125 views

group permissions for scp

We have a server running as a firebird user. We want to scp files to the server that are need by firebird but copied as another user: it-test. What is the best way to set that up on the ...
0
votes
1answer
1k views

How can I mount ext3 with restricted permissions, like setting uid, gid and umask?

I want to mount an ext3 filesystem on a device with uid, gid, umask options set. When I use these options during mount, I get an error. Below is the command I am using to mount: mount -t ext3 -o ...
3
votes
1answer
2k views

How do you apply umask settings to an account that doesn't log in?

On my Ubuntu 11.04x64 server, I have service accounts running which do not log in and do not have home directories. These service accounts are responsible for running processes which are invoked as ...
6
votes
3answers
7k views

How to set default permissions for files moved or copied to a directory?

My question is similar to How to set the default file permissions on ALL newly created files in linux - but differs in important ways: I want all files created in (or copied to or moved to) a certain ...