PDA

View Full Version : chmod?


ashlee
01-10-2001, 04:35 PM
Okay, so I should probably know this. At least it seems as though everyone else does.

What is CHMOD? How do I CHMOD files?

If anyone can help me out, it would be greatly appreciated!

Thank you!

Ashlee

Graham
01-10-2001, 06:20 PM
CHMOD sets permissions on your directories and files. You can set read/write/and execute permission for owner/groups/and public. For example when you go to set up a PERL script, you will have to set certain files and directories to be executable or the script can not function. You can also disallow the general public from viewing certain files by taking away the 'read' permission from 'public'. CHMOD can be performed in most good FTP programs (I use CuteFTP), and in a shell session. You should really search the 'net to get more info on details on how and when to CHMOD. Try google.com and search 'CHMOD help' or 'linux permissions'. You can get help at the command line by typing 'man chmod' (in a shell session).

Good luck
Graham

ashlee
01-10-2001, 06:43 PM
thank you!

however, my current problem is that i am attempting to install a guestbook on my site. it is required that i chmod certain files to 755 and others to 666. i have no idea how to do this, and i do not believe i have an ftp program.

Joshua
01-10-2001, 07:01 PM
Here is how you can do it.

Go into your Control Panel. Click the File Manager button. It will load in a new window. Go to the directory where the file is located. Click the files name. To the right, you will see a list of things to do with the file. Click "Set Permissions" or something like that. At the bottom of the table that comes up, enter in 7, 5, & 5. Click update and that should work. For the other files, enter 6, 6, & 6.

ashlee
01-10-2001, 07:41 PM
ah, i've got to be so difficult! are you using the new control panel? i've got the old one, and i don't have a choice to enter numbers. i can click S R W or X for each file, and that's it.

ashlee
01-10-2001, 07:58 PM
nevermind. thanks for the help everyone! i think i finally figured it out! if anyone else is experiencing this problem, please check out:
http://www.redbrick.dcu.ie/~helpdesk/htmlfiles/chmod-help.html

ashlee