What about file deletions and creations in dir ? I tried chmod in my several setups and this didn’t work for it. I want to wheel group’s total domination on dir they should be able to create files and delete also edit on /usr/local/src and all sub-dirs of /usr/local/src
Reaction score: 114
chmodto give the desired user or group write permissions to the dir.
If you had read the man page you would have seen a switch to use to recourse the sub folders...Will it include sub folders...
If wheel is not listed for the group when you list the files in the directory, then you will have to use chown() to make wheel the group owner of the files or whole directory...how will I specify wheel group...
chown() is the only way to change a file or directory's owner or group and it's not insecure, it's only insecure if you change files or directories that don't need or shouldn't be changed, allowing access to users or processes that should not have access...I also do not want chown dir It is not secure.