I need to modify the permissions of all subdirectories of a certain directory (which is mounted by cifs) to include group write privileges. As I understand it, this would be done with the command
sudo chmod -R g+w ./*, assuming my current working directory is the one whose subdirs I want to add this permission to. When I run this command with
-v, I see that all the subdirectories and included files are (supposedly) modified appropriately. But when I
ll the directory, the permissions are untouched. What might be causing this?
And on a side note, is there any way I could set the default permissions for new files created in this directory or its subdirs to include this permission?