Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.