Changeset 10054

Show
Ignore:
Timestamp:
09/08/06 09:23:38 (2 years ago)
Author:
piotras
Message:

Set read, write and executable bits for owner and group on midgard cache directory

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/branch-1-7/src/tools/datagard/mod.postinst

    r9245 r10054  
    381381  # Apache does not need direct access here, only execute bit for possible subdir access 
    382382  chmod o+x $MGD_VAR_PATH 
    383   chmod o+x $MGD_VAR_PATH/cache 
     383  chmod u+x $MGD_VAR_PATH/cache 
    384384  chmod o+x $MGD_VAR_PATH/log 
    385385 
     
    388388  # Set apache as the owner of the files there (should be already, or no files yet - but to be sure) 
    389389  chown -R $APACHE_USER:$APACHE_GROUP $MGD_VAR_PATH/cache/midgard 
    390   # Group needs write permissions. Others can't do anything (to be secure) 
    391   chmod g=rwx,o= $MGD_VAR_PATH/cache/midgard 
     390  # Group and owner needs write permissions. Others can't do anything (to be secure) 
     391  chmod -R u=rwx,g=rwx,o= $MGD_VAR_PATH/cache/midgard 
    392392   
    393393  # Others can't read, but execute access is needed for possible subdirs (to be secure)