Jump to content


Photo

CHMOD to 777 - ???


  • Please log in to reply
3 replies to this topic

#1 Mouse

Mouse
  • Members
  • PipPipPip
  • Advanced Member
  • 95 posts
  • LocationToo Close to LONDON

Posted 28 March 2006 - 08:46 AM

CHMOD to 777 - ???

I have read the PHP manual on this but it is not 100% clear to me. I see on some scripts “set File_name CHMOD to 777” erm, what? How do I do this and more to the point why????

Many thanks

Mouse


#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 28 March 2006 - 09:13 AM

CHMOD sets perssions which can restrain users from doing certains things on your files/folders. Therer are three groups which are Owner, Group and Public

Each groups has three settings which are Read, Write and Execute. The defualt perssions for your files is usually 0644. You can set these permissions in your FTP client after you have uploaded your files to the server. Once uploaded depending on your FTP client right click on the file and select Properties or Perssions from the menu. A small box should popup and a perssions table should be shown with tickboxes for each read, execute and write settings in each group. If you tick all the read, write and execute tickboxes in all three groups that wil set your file permissions to CHMOD 0777.

CHMOD is a much more advanced file permission handler than WIndows persions which is just one setting Read-Only!

#3 Mouse

Mouse
  • Members
  • PipPipPip
  • Advanced Member
  • 95 posts
  • LocationToo Close to LONDON

Posted 28 March 2006 - 10:47 AM

[!--quoteo(post=359189:date=Mar 28 2006, 10:13 AM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ Mar 28 2006, 10:13 AM) View Post[/div][div class=\'quotemain\'][!--quotec--]
CHMOD sets perssions which can restrain users from doing certains things on your files/folders. Therer are three groups which are Owner, Group and Public

Each groups has three settings which are Read, Write and Execute. The defualt perssions for your files is usually 0644. You can set these permissions in your FTP client after you have uploaded your files to the server. Once uploaded depending on your FTP client right click on the file and select Properties or Perssions from the menu. A small box should popup and a perssions table should be shown with tickboxes for each read, execute and write settings in each group. If you tick all the read, write and execute tickboxes in all three groups that wil set your file permissions to CHMOD 0777.

CHMOD is a much more advanced file permission handler than WIndows persions which is just one setting Read-Only!
[/quote]

So why didn't they just say that then???

Many thanks

Mouse

#4 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 28 March 2006 - 04:12 PM

I guess its beacuase they are just damn right lazy which most PHP coders, apart from pros (i hope) which I aint, are and that they expect to know everythink, lol




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users