Find the answer to your Linux question:
Results 1 to 3 of 3
Ok guys..... so i've been doin some light reading and i came across this command example: # find / -perm +ug+s The point being to find everything in the root ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie the bassinvader's Avatar
    Join Date
    Jun 2006
    Location
    Europe
    Posts
    168

    permissions ...what's that sign mean?


    Ok guys.....

    so i've been doin some light reading and i came across this command example:

    # find / -perm +ug+s

    The point being to find everything in the root directory that has the SUID and SGID bits set however I dont understand the significance of the first plus sign. I 've never seen an example like it before and i was wondering if it's a missprint or has a purpose that i dont know about.
    Any answers?

    " I didn't know it was a picture of his wife! I thought it was a publicity shot form Planet Of the Apes."

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    According to this man pages on the find command, there are certain special commands you can give it that start with a plus sign. I would assume +ug and +s are simply special modes.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Linux Newbie the bassinvader's Avatar
    Join Date
    Jun 2006
    Location
    Europe
    Posts
    168
    whoops...egg on my face.

    note to self..."always check the man pages first".

    Thanks for the answer though techieMoe

    " I didn't know it was a picture of his wife! I thought it was a publicity shot form Planet Of the Apes."

Posting Permissions

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