Quote from: kylej at Nov 29, 2006, 01:15 PM
I had no problems with permissions, or having to reset permissions on any files. Dimmy, could you explain the issue there a little more?
Although I am not Dimmy, I will throw in my 2c worth, because I have had problems with permissions...
On Linux each newly created file is given a set of permissions that depends on a user-variable (umask) .. if this variable is set to an inconvenient value, then all the new files will have inappropriate permissions for MODx - for example, each directory MUST have "r-x" access (or rwx access) for the web server or the web server will not be able to read (the "r") or navigate through (the "x") the directory. Similarly each file should have at least "r--" permissions for the web server.
Using a gzipped tar archive with the appropriate flag (-p) while extracting
tar xzvpf <file>.tar.gz
will extract all the files and KEEP THE ORIGINAL PERMISSIONS rather than giving all the extracted files default permissions. So provided the tar file was created from a working installation, it will still work unchanged.
Otherwise, as I have painfully discovered, you need to go through and manually fix up all the permissions (or cheat and just do "chmod -R 755 *").
I don’t know what happens with zip ... and I imagine that a zip archive created on Win might act differently than one created on Mac OS or Linux... when I unzipped "Maxigallery" it used my default (crappy) umask, but other things work OK.
If by chance or design your umask is OK, then you will never even notice this issue...
Cheers
Gordon