View Full Version : Chmod
Xuzuno
04-16-2006, 02:33 AM
Hey,
I'm trying to upload IPB v1.3 Final and I see a part about CHMOD. I know how to CHMOD and everything but there's a table but it doesn't explain much. Here it is:
http://img69.imageshack.us/img69/6168/chmod6zn.jpg (http://imageshack.us)
Any help on what to CHMOD to what?
Scott
04-16-2006, 07:34 AM
I'm not quite sure what the trouble is, but I'll explain the table and hopefully that'll help. The first column shows the chmod value of the file/folder, so for conf_global.php it should be chmod 0666.
If it is a folder, the second column tells you what value the contents of that folder should be. The Skin folder is probably the most important one here - make sure all skin folders and subfolders have chmod 755 otherwise you'll have problems later on.
The last 2 column tell you whether you need to chmod before running the installer or not. It's probably best to do all chmoding before running the installer - gets it out of the way.
Let us know if you've got any further problems :)
Xuzuno
04-16-2006, 09:00 AM
Ok, thanks. When I chmod the contents of a folder, do I chmod the files and folders? And what do I do with the ones on the table but with nothing next to chmod it to eg. admin.php?
Scott
04-16-2006, 11:13 AM
Chmod everything inside of a folder, including subfolders. Most FTP clients these days have an option to include subfolders. If it doesn't have any value next to it, you don't have to bother about it. If you find that you've already chmoded one which doesn't need it, don't worry about it - not really likely to cause much harm.
adb22791
04-16-2006, 02:55 PM
If you find that you've already chmoded one which doesn't need it, don't worry about it - not really likely to cause much harm.
I wouldn't be too sure... incorrectly chmoding, say, your includes folder that contains your config file to allow anybody to write could open your server to attacks from hackers, and open your forums to exploits. Make sure you have everything chmodded to what it was originally chmoded to (generally 644 for files, and 755 for folders), and then follow IPB's CHMOD instructions.
Scott
04-17-2006, 11:35 AM
I wouldn't be too sure... incorrectly chmoding, say, your includes folder that contains your config file to allow anybody to write could open your server to attacks from hackers, and open your forums to exploits. True, but IPB only really has one config file which has to be set 0666 before installation can take place so if the values in the table are followed, this shouldn't be a problem.
adb22791
04-17-2006, 01:22 PM
Yeah, I was using that as an example, but still, you don't want files and folders open for other people to insert their own little files unless the script requires it. Having an exploited server or forum can get very very messy (and expensive!).
spechackers
04-23-2006, 09:53 AM
Hey,
I'm trying to upload IPB v1.3 Final and I see a part about CHMOD. I know how to CHMOD and everything but there's a table but it doesn't explain much. Here it is:
http://img69.imageshack.us/img69/6168/chmod6zn.jpg (http://imageshack.us)
Any help on what to CHMOD to what?
is the version legal?? donot mistake me, because if it is not you will be easily caught.
Scott
04-23-2006, 12:15 PM
1.3 was, is and always will be free to use. It only becomes illegal if you distribute the source.
1.3 was, is and always will be free to use. It only becomes illegal if you distribute the source.
The catch being, you already had to be in possesion when it went to paid, as I understand it. You can't download it today and be legal. No idea how they would know this, but that's a moral decision each of you/us have to make.
I'd imagine by now 1.3 is pretty insecure, though. Even free it might not be worth it.
Mikey
04-23-2006, 06:26 PM
Did he figure out how to chmod files or what?
Scott
04-24-2006, 12:34 PM
The catch being, you already had to be in possesion when it went to paid, as I understand it. You can't download it today and be legal. No idea how they would know this, but that's a moral decision each of you/us have to make.
I'd imagine by now 1.3 is pretty insecure, though. Even free it might not be worth it.
Very true to both, it always has been against the license to redistribute any version, so you have to have downloaded it from IPS.
Since 1.3 is no longer supported, as I understand it there are quite a few security issues with it. Wouldn't use it if I had the choice.
adb22791
04-24-2006, 04:00 PM
... Even free it might not be worth it.
Especially not with PHPBB 3 on the way... it blows IPB 1.x away.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.