Find the answer to your Linux question:
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 ...
  1. #1
    Just 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?

  2. #2
    Trusted Penguin elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,298
    You need to tell it what file or files to work on. For example. try this in your home
    directory.

    Code:
    mkdir temp
    cd temp
    touch a-file
    ls -l
    chmod u=rwx,g=r,o= a-file
    ls -l
    Linky
    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.

  3. #3
    Linux User dxqcanada's Avatar
    Join Date
    Sep 2006
    Location
    Canada
    Posts
    259
    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" ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...