![]() |
|
Permissions 755 vs 775 - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Permissions 755 vs 775 (/thread-9326.html) |
Permissions 755 vs 775 - nbruley - 2011-11-30 I tried uploading the install zip to my server and extracting, then moving the files and overwriting the old ones. When I tried to run the setup.php file nothing happened. So I contacted Bluehost and they said I need to have folder permissions set at 755 instead of 775 and files 644 instead of 664. It appears that my file manager when unzipping made the folders 775 instead. I tried via plain ftp and that didn't do any different. It just makes no sense to spend tons of time manually changing all of these... what can I do to speed up the process? They insisted this made a difference. And I guess they are right because the error log says The other thing that comes into the picture is I have a password on the folder. Could that cause an issue? Thanks. Permissions 755 vs 775 - fretzl - 2011-11-30 It's best to unzip the package [b]before[/b] uploading as explained here As for the "tons of time" to change them, your FTP client should be able to do that in no time. Permissions 755 vs 775 - nbruley - 2011-11-30 To me, your link doesn't really specify it's better to upload them after extraction, it just tells you a way to get the files on your host, especially if you have no way of extracting after upload. I figured you just were using the most generic instructions. Why is it better not to upload as a zip and extract? Thanks for the tip on permissions. I see FireFTP allows you to change subfolder permissions by right-clicking on the folder and choosing properties (incl contents). Hopefully I'm good to go there. It does take a few minutes to think through all the files but much better than doing it by hand. Permissions 755 vs 775 - acrylian - 2011-11-30 I think it probably makes no difference. At least if uploading a file directly it is set to permissions set by the server normally. I guess that happens or should happen also on unzipping (which I cannot do on my server). Normally setup should try to change the permissions but on some hosts that is not allowed/does not work as expected. You ftp client should provide an option to include child items on changing as well. Permissions 755 vs 775 - nbruley - 2011-11-30 After fixing file permissions with fireftp everything worked out. Great! Thanks for the help. Permissions 755 vs 775 - sbillard - 2011-11-30 Glad things are working. Just FYI on the permissions. 0755 is the prefered permissions, but only if it works on your server. First digit of the code (7) = Owner has read, write, and execute priviledges Permissions 755 vs 775 - nbruley - 2011-11-30 Yes thanks, that's what I kind of thought on permissions also, but Bluehost simply will not run setup if it finds a 775 permission for some reason. At any rate, as long as I know what's wrong I can fix it |