2014-01-09, 08:54:34
When installing GetSimple and plugins I like to upload the files in their original zip archives and extract them on the server using my host's file manager because it's a big time saver versus FTPing the extracted files individually.
This works fine with the main GetSimple archive, and files and folders get the correct 644 and 755 permissions respectively. However, I notice that plugin archives downloaded from the Extend Repository extract with the wrong file and folder permissions: everything gets 777 permissions, which my host and many other hosts wont tolerate.
My workaround for the plugins is to recursively set the file/folder permissions with my FTP client, then compress the files/folders to a new zip on the server, which I then download and use in place of the original zip for future installations as this archive extracts with the correct permissions.
I'm not clear on how these permission settings are actually stored for files/folders in a zip archive, but is it possible to make some change to the Extend Repository so archives automatically get the correct permissions?
This works fine with the main GetSimple archive, and files and folders get the correct 644 and 755 permissions respectively. However, I notice that plugin archives downloaded from the Extend Repository extract with the wrong file and folder permissions: everything gets 777 permissions, which my host and many other hosts wont tolerate.
My workaround for the plugins is to recursively set the file/folder permissions with my FTP client, then compress the files/folders to a new zip on the server, which I then download and use in place of the original zip for future installations as this archive extracts with the correct permissions.
I'm not clear on how these permission settings are actually stored for files/folders in a zip archive, but is it possible to make some change to the Extend Repository so archives automatically get the correct permissions?