-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I believe that umask is something that controls file permissions, but do not fully understand it.
After running umask 0644 in a terminal, I cannot read the files I create with the command-line text editor nano. I noticed that the permissions of that file are set to 0022 instead of the default 0755…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
OUR SITUATION
Several people from our company log in to a server and upload files. They all need to be able
to upload and overwrite the same files. They have different usernames, but are all part of the
same group. However, this is an internet server, so the "other" users should have (in general)…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Most VPS have a team of 1+ user(s) that don't do anything but configure the system and work on the web site and/or database. I would assume all the team members would be a group like "developers" so they could all work on files in the web root as needed.
With this in mind, would umask 007 be a much…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I have found a solution for my problem. This is what I did:
I added the following to my /etc/proftpd/proftpd.conf:
<Limit SITE_CHMOD>
DenyAll
</Limit>
I have the following problem:
When I upload files to my FTP server the umask I set is totally ignored. All files have permissions…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I have added umask 002 to /etc/profile, but software like git and apache still sets files to 755 instead of 775. Is there a way to force umask 002 for all programs on a machine?
>>> More