I know how to chmod or chown individual files or folders, but how would I do one of these commands to cause a whole folder full of files to all receive the same chown or chmod settings? I'm trying to make a crontab that would allow me to set the permissions and ownership of a folder and the folders/files in it, every 5 minutes.
This way, whenever a user creates a file/folder in the target directory, it would change ownership from "theirs" to "ours" essentially, regardless of who created it.
This way, whenever a user creates a file/folder in the target directory, it would change ownership from "theirs" to "ours" essentially, regardless of who created it.