View previous topic :: View next topic |
Author |
Message |
carbon Guru
Joined: 27 Jun 2003 Posts: 455 Location: New York
|
Posted: Tue Aug 05, 2003 7:33 pm Post subject: permission question |
|
|
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 |
|
|
chardros Tux's lil' helper
Joined: 18 Apr 2002 Posts: 136 Location: Andromeda
|
Posted: Tue Aug 05, 2003 8:02 pm Post subject: |
|
|
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 |
|
|
scriptkiddie l33t
Joined: 30 Mar 2003 Posts: 955
|
Posted: Tue Aug 05, 2003 8:16 pm Post subject: |
|
|
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 |
|
|
|