mac 10.4 "sites" folder permissions

Discussion in 'macOS' started by superfunkomatic, Jul 22, 2005.

  1. superfunkomatic macrumors regular

    Joined:
    Jan 6, 2003
    Location:
    calgary, ab canada
    #1
    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.
     
  2. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #2
    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
     
  3. superfunkomatic thread starter macrumors regular

    Joined:
    Jan 6, 2003
    Location:
    calgary, ab canada
    #3
    no, it's just got to be web enabled, ie. read/execute. anyone else have suggestions?
     

Share This Page