teraßyte Posted May 15, 2009 Posted May 15, 2009 I have noticed often that people get errors because of a wrong CHMOD when they move forums on another server or in similar situations. It would be a good idea to have a Tool in ACP to check if all the needed folders have a proper CHMOD.
Michael Posted May 15, 2009 Posted May 15, 2009 Doesn't the 'Permissions Checker' tool already do this?
teraßyte Posted May 15, 2009 Author Posted May 15, 2009 Never noticed/used this tools :huh: Where is it located? I'll have a look in ACP right now O.ò
teraßyte Posted May 15, 2009 Author Posted May 15, 2009 [quote name='Μichael' date='15 May 2009 - 04:06 PM' timestamp='1242396384' post='1802092']Support tab, under the Diagnostics section. Ah thanks that's explains why I never noticed it, I rarely use the support tab lol :rolleyes: [quote name='bfarber' date='15 May 2009 - 04:42 PM' timestamp='1242398540' post='1802122']Indeed, that's exactly what it does. ;) Is there any way to add also CHMOD checks for our applications? Maybe adding an xml file in the xml folder for the application? I haven't checked the code yet but would be good if you can tell me :P
Mark H. Posted May 15, 2009 Posted May 15, 2009 Definitely a +1 on this idea. While the permissions checker is a good tool, it could be improved greatly with just one change: Right now, all it tells you is that the permissions are "high enough", or "not high enough". Much better would be an addition to tell you what they actually should *BE*, especially on servers that don't use PHPsuexec (where almost everything can be 755/644). e.g. If 755 permissions are all that's required, and the directory is presently 777, have that be flagged green as before, but with (755) shown as a suggestion next to it. If it's 755, but actually needs 777, flag it red as before with (755) shown. Same with files, and minimums. I use 444 for a couple things, 644 for others, some at 777, etc.
bfarber Posted May 15, 2009 Posted May 15, 2009 We don't actually retrieve the permissions directly (indeed I'm not sure if we can, though I haven't looked into it much). We simply check if writable directories/files are infact writable.
teraßyte Posted May 15, 2009 Author Posted May 15, 2009 I have noticed a files.xml in the xml directory while I was packing IP.Shoutbox Beta 1. Perhaps the "Permission Checker" could load those files.xml from each application and you can list there the folders that needs to be writable? :P
Recommended Posts
Archived
This topic is now archived and is closed to further replies.