I've setup an NFSv4 server (Debian) and client (Ubuntu/Mythbuntu). It seems that uid username mapping is working nicely out-of-the-box (I get correct usernames on ls -l if the usernames match between the two boxes, even if the uids don't), but ACLs are not working.
Are there any products out there that can refactor permissions? I am talking about something like...
Folder has users A, B, and C in it as direct permission assignments.
Gday everyone! Im new here... but used ubuntu for nearly ayear now!
I've been uploading files to a folder using an FTP user within my web directory : httpdocs/files...
But when my php script goes to move these files to a new directory it fails, the files are uploaded with permissions 'rwx rw- rw- '...
I have a Red Hat 5.8 server that is bound to active directory and users are authenticated via active directory when they log in via sftp. User home folders are created during login using /etc/pam.d/system-auth.
I have been looking at umask for quite some time now, and to some examples, but I am still not sure how to work with this.
Basically what I want is the following.
I am a user, a sudoer in the system with the name www-admin and group www-group.
Now I want all the folders created in /var/www/www-user to have the following properties.
Files created in `/var/www/www-user`, user = www-user, group =
Hi
I see that I can use umask to set the default permissions on files created by a script like so -
Code:
umask u=rwx,g=rwx,o=
So that would grant rwx to the user and group.
I have a shared EXT4 drive with 777 permissions for all users to use.
Problem is :
When a user creates a new folder / file, it gets 644.
I guess that is because of the umask for that user.
Now, I want to have all the new content with 777.
I've got a development Ubuntu system for which I have several users: myself (with full sudo) and about 5 other users. (I've set up the system so everything in this respect is still at its default setting)
I'm trying to set the system up so that multiple people can collaborate in a single directory by using grouing and I want the default permissions to be 664.
You can create a group for all the users (if it does not exist yet), set all the directories in the download tree to this group and setgid bit set (eg: 2770 permissions). Alternatively, set ACLs an... [by gulikoza]