New answers tagged group
can you try to add mount option "file_mode=0770,dir_mode=0770" 1) try to modify /etc/fstab file //smbserver/nas /media/nas cifs uid=bertrand,gid=nas,credentials=/root/.smbcredentials,file_mode=0770,dir_mode=0770 0 0 2) Or, mount command sudo mount -t cifs //smbserver/nas /media/nas -o ...
Just FYI, this answer appears to be incomplete and may miss certain users. http://stackoverflow.com/questions/2835368/how-to-list-all-users-in-a-linux-group
For what I know, only the owner of the file (and root) are allowed to change the permissions bit of a file. So for doing what you want probably you should resort to write a little program that change the permissions as you want, and use the sudoers mechanism to give access to it to all the users of the group. The script could be a simple one that checks ...
Top 50 recent answers are included