Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

superfunkomatic

macrumors regular
Original poster
Jan 6, 2003
230
0
calgary, ab canada
i'm sure someone has figured out a way to do this. users ftp files to their /user/Sites folder, works great no problems there. the problem is it doesn't inherit web permissions from the parent folder.

how do i write a cron script to go in every minute and rewrite the permissions to chmod 755?

or can something like changing the global umask help.

whatever is safest, and easiest. help would be appreciated.
 
Does the permission actually have to be 755 for the web stuff to work? Can you create a new group, give group membership of the uplevel sites directory to that group, and then use the chmod g+rws format to keep the permissions consistent?

I'm not sure, but anyway, I'm interested in learning the answer too. :D
 
mkrishnan said:
Does the permission actually have to be 755 for the web stuff to work? Can you create a new group, give group membership of the uplevel sites directory to that group, and then use the chmod g+rws format to keep the permissions consistent?

I'm not sure, but anyway, I'm interested in learning the answer too. :D

no, it's just got to be web enabled, ie. read/execute. anyone else have suggestions?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.