Koozali.org: home of the SME Server

CRON to Reset IBay Permissions

Offline newburns

  • *
  • 345
  • +0/-0
  • A good plumber, noob developer
    • Mt. Rose MEdia
CRON to Reset IBay Permissions
« 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>?
SME 8.0
Quad 6600
8gb DDR2 800
8 TB RAID 5
Dual Gigabit NIC
I Still Don't KNOW WHAT I AM DOING. Please, don't assume I know anything about Linux or Centos, I just know hardware

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: CRON to Reset IBay Permissions
« Reply #1 on: March 03, 2013, 11:45:06 PM »
man cron
man crontab
man chown

I would add man google ;-)