Results 1 to 3 of 3

Thread: Unix permissions

  1. #1
    Senior Member bAgZ's Avatar
    Join Date
    Jul 2001

    Unix permissions

    I was just wondering if you could have SGID and SUID permission together on one file. The way i understand this works is like this:
    ---s------ SUID perm
    ------s--- SGID perm
    Then what do these perm mean?
    /usr/bin/cu -r-sr-sr-x
    "If I'd asked my customers what they wanted, they'd have said a faster horse." ~ Henry Ford

  2. #2
    AntiOnline Senior Member souleman's Avatar
    Join Date
    Oct 2001
    Flint, MI
    readable by owner
    set uid on execute
    readable by group
    set gid on execute
    readable by all
    executable by all

    Yes, both SGID and SUID can be set on one file...
    \"Ignorance is bliss....
    but only for your enemy\"
    -- souleman

  3. #3
    Senior Member roswell1329's Avatar
    Join Date
    Jan 2002
    Hmm. I've never seen them both together like that, but it makes sense.

    Then again, I don't really know when you would need to be both a different owner of a process, as well as be in a specific group. Wouldn't you just put the owner of the process in that group?
    /* You are not expected to understand this. */

Posting Permissions

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