Web Hosting Talk







View Full Version : how to chmod file


dico
02-17-2002, 05:38 PM
Hi there,

Simple question....

How does one chmod a file, say to 755? I usually ftp in and right click and change the file name, but I had to create a file and now I am not sure how to set it to 755 when I ssh in.

Thanks,

-dr

Softerweb
02-17-2002, 05:43 PM
Hi Dico

The syntax would be:
chmod 755 /path/to/file/filename

A nice *nix feature you should use is "man". This is a manual "program" you can use if you remember a function name, but not how to use it.

In this case you would write:
man chmod

...and you would get the manual for chmod...

dico
02-17-2002, 05:48 PM
Thanks for the tip! It'll be useful. As you can tell I am new to this linux stuff...

The chmod like a charm!

-dr

driverdave
02-17-2002, 06:02 PM
A nice feature of the internet is http://www.google.com

serach for: linux newbie chmod

I'm not trying to be mean or anything, but a quick google search has taught me everything from chmod to XML socket layers. It's like a teacher thats free and never stops teaching.

Softerweb
02-17-2002, 06:06 PM
I second that...google is the first place I look for information, oh, after first searching here at WHT :~)

Daytripper
02-17-2002, 08:04 PM
Some control panels give you the option to chmod(change permissions) right from the control panel. Maybe your control panel has this feature?

Daytripper
02-17-2002, 08:35 PM
Some control panels give you the option to chmod(change permissions) right from the control panel. Maybe your control panel has this feature?