• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Setuid?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setuid?


  • Subject: Re: Setuid?
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 6 Jul 2002 14:17:15 +0200

On Saturday, July 6, 2002, at 12:11 , Finlay Dobbie wrote:

No, files with setuid and/or setgid permission set will have an 's' instead of an 'x' in the execute column.

or S, in case the execute bit is not set.

Also, you won't find the setuid bit on directories, only on executable files, AFAIK.

222 /tmp> mkdir foobar
223 /tmp> chmod a+s foobar
224 /tmp> ls -ld foobar
drwsr-sr-x 2 ocs wheel 24 Jul 6 14:14 foobar/
225 /tmp>

I do agree that it would be extremely rare or non-existing; it's quite cleanly possible though.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
  • Follow-Ups:
    • Re: Setuid?
      • From: Cryx <email@hidden>
References: 
 >Re: Setuid? (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Preview in Internet Explorer
  • Next by Date: Re: Preview in Internet Explorer
  • Previous by thread: Re: Setuid?
  • Next by thread: Re: Setuid?
  • Index(es):
    • Date
    • Thread