Web Hosting Talk







View Full Version : chmod in ssh ?


Crazy BigGaz
11-29-2002, 03:21 PM
Hi,

I would like to know how I CHMOD in SSH ?

Regards,
Garry

Jtru
11-29-2002, 03:27 PM
Look here: http://www.oreillynet.com/linux/cmd/c/chmod.html

Crazy BigGaz
12-01-2002, 05:46 AM
Hi,

So it be CHMOD xxx then\the\path ?

So let say I want to chmod a file in public_html a folder would I do this

CHMOD 777 \home\username\public_html\uploads

or

CHMOD 777 \home\username\public_html\uploads\

and would this chmod the uploads folder to 777 ?

Regards,
Garry

The Laughing Cow
12-01-2002, 07:04 AM
My favourite tutorial. It's not that long so read through it carefully and you'll learn well.

http://catcode.com/teachmod/

ryza
12-01-2002, 07:25 AM
chmod a file:
`chmod 755 /home/ryza/index.html`

chmod a folder:
`chmod 755 /home/ryza`

recursivley chmod a folder:
`chmod -R 700 /home/ryza`

for details type:
`man chmod`

ryza

Crazy BigGaz
12-01-2002, 11:47 AM
Hi,

Thank you all for all your reply and links :D

Regards,
Garry
Silvernet UK Ltd.