Results 1 to 3 of 3
What is the symbolic representation for a permission setting for a file where the User can read, write, and execute; the Group can read; and the Other users can't do ...
- 06-16-2008 #1Just Joined!
- Join Date
- Jun 2008
- Posts
- 2
I don't know what is wrong..
What is the symbolic representation for a permission setting for a file where the User can read, write, and execute; the Group can read; and the Other users can't do anything?
I typed "chmod u=rwx,g=r,o="
but it is wrong...
Can anymore help me that?
- 06-16-2008 #2
You need to tell it what file or files to work on. For example. try this in your home
directory.
LinkyCode:mkdir temp cd temp touch a-file ls -l chmod u=rwx,g=r,o= a-file ls -l
Last edited by elija; 06-16-2008 at 09:31 PM. Reason: Added Linky
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
My new blog. It's probably not as good as I think it is.
- 06-16-2008 #3
Read = 4
Write = 2
Execute = 1
Add them up -> chmod UGO
Code:# chmod 740 <filename>
Men occasionally stumble over the truth,
but most of them pick themselves up
and hurry off as if nothing had happened.
Winston Churchill
... then the Unix-Gods created "man" ...


Reply With Quote