Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
permission question
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
carbon
Guru
Guru


Joined: 27 Jun 2003
Posts: 455
Location: New York

PostPosted: Tue Aug 05, 2003 7:33 pm    Post subject: permission question Reply with quote

what exactly are the difference between
r--
r-x
--x

second one it's pretty clear, but first and third one confuses me :?
_________________
I do what I want, and that's what I do.
GNU World Domination

Carbon
Back to top
View user's profile Send private message
chardros
Tux's lil' helper
Tux's lil' helper


Joined: 18 Apr 2002
Posts: 136
Location: Andromeda

PostPosted: Tue Aug 05, 2003 8:02 pm    Post subject: Reply with quote

The chmod manpage is a good place for an explanation of this stuff. Just type "man chmod" at your local friendly bash prompt.

r-- == read-only

r-x == read and execute permissions (if it's a directory, x grants the ability to change to that directory)

--x == execute only, like I can change to a directory but not list it's contents, or execute a shell script but not cat it.
Back to top
View user's profile Send private message
scriptkiddie
l33t
l33t


Joined: 30 Mar 2003
Posts: 955

PostPosted: Tue Aug 05, 2003 8:16 pm    Post subject: Reply with quote

yeah, you might want to learn that early on in your linx travels or you'll be in a world of crap later
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum