Koozali.org: home of the SME Server
Obsolete Releases => SME Server 8.x => Topic started by: newburns on March 03, 2013, 09:33:22 PM
-
Is there a cron job that I can run to reset ibay permissions?
Situation:
I have a public downloadable mp3 folder that is attached to my store: /opt/mp3
I have the path mounted to an ibay that is accessible by my Media Engineers: etc/fstab >> /opt/mp3 /home/e-smith/files/ibays/media/files/mp3/
I need the files to stay 775 owned by apache:mediateam
So the files will be owned by user www for public accessibility through store, and owned by group mediateam for editing by Media Engineers.
Whenever different engineers access it, they change the ownership to THEIR user and mediateam group.
Is there a certain cron I can run everynight to change the ownership recursively of this file back to what I need>?
-
man cron
man crontab
man chown
I would add man google ;-)