I work for a university which uses the Andrew File System (AFS). I’ve been told by our server admins and also have read in many places that AFS file systems cannot set permissions rights on a file level basis, rather all permissions must be set on a per directory basis (So essentially directories cannot contain files with mixed permissions).
Our client site is going to be on this AFS space. Since we developed locally first, the site has already been “installed” and we just moved it onto the AFS space. Everything seems to work minus the obvious permission issues
I’m trying to figure out the best way to deal with this, particularly for path.php and system/config.php. Obviously I don’t wont to make either the entire root folder or the entire system folder writable, just so those files can be writeable.
The recommended solution by our server people is to keep all files that need to be writeable on the same level in the hierarchy and set the permissions on the directories appropriately.
Would it be possible to *easily* move config.php and path.php into different folders and still have the application function appropriately? If so where in the application would I change the path to these files?
Option B would be to make the entire folder writeable during version updates (and immediately taking away those privileges after the update process) and then just manually editing path.php and config.php when I need to make a change…
Do you forsee any problems with the latter method? Other than switching some of those general/system settings, how often does config.php and/or path.php need to be written to on the fly by modules, plugins, extensions etc etc?
BTW We’re running version 1.6.7 (core version for now)