OK, (and if you see this g-rod, yep, I am still having issues), I have a music directory that initially I set up with a 222 mask. I didn't want users to accidently delete files, so I changed to 0111. (Both for share and create masks - with those entries in the share section of samba.conf).
Problem is that ownership now is all over the place as people put files in there.
I see that chown will change the owner of the files, then I can apply chmod to allow access to the files. I also see that I can use the -r to go through all sub folders.
Now, I am new to linux - so is there a way I could run this periodically to reset the owner (and I am thinking to root) and the mode? Could you provide a couple examples of the commands so I can do this?
The share is...music. Any ideas y'all have about this are welcome. I am not easily frustrated and I am impressed with my progress, but little things like this are not little to the users.
Thanks in advance!
|