-
as seen on Super User
- Search for 'Super User'
I have setup Ubuntu as a development web server - however I am experiencing problems with file permissions. I have 2 users, user1 and user2, and they both have been put into the group www-data.
I have uploaded a new file with user1 so the file is owned by user1 and the www-data group.
At present…
>>> More
-
as seen on Super User
- Search for 'Super User'
My question is similar to this:
http://stackoverflow.com/questions/228534/linux-default-file-permission
but there is no scp/ftp client involved and that question looks abandoned. Simply put: I want to be able to, at some global level decree that all newly created files will never have world writable…
>>> More
-
as seen on Super User
- Search for 'Super User'
Is there a way to have all files created by a particular user under sftp to have a specific group and file permissions? The user in question, of course, will be a member of the group, but it is not his primary group. In other words, is there a way for sftp to automatically duplicate the effects of…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
How do you store file permissions in a repository? A few files need to be read-only to stop a third party program from trashing it but after checking out of the repository they are set to read-write.
I looked on google and found a blog post from 2005 that states that Subversion doesn't store file-permissions…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am using java.util.Zip and java.util.ZipEntry to successfully extra a zip file's contents to disk. I would like to maintain the file permissions set when extracting on a *nix file-system.
Can anyone point me to the "correct" way to do this?
>>> More