• 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 bit set, but not running as root
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Setuid bit set, but not running as root


  • Subject: Re: Setuid bit set, but not running as root
  • From: "Louis C. Sacha" <email@hidden>
  • Date: Wed, 6 Oct 2004 13:06:39 -0700

Hello...

There is also a security feature that can prevent the setuid bit from having an effect on volumes other than the boot volume. One of the options available when mounting volumes is to ignore the setuid bit of any executables on the volume.

If I remember correctly, when disk images are mounted they use that option by default, which causes the setuid bit of any executable on the mounted disk image to be ignored. I would expect that this is also true for any mounted volume that the OS sees as "removeable".


Hope that helps,

Louis


But although the setuid bit is set it is not possible to execute a privileged operation
...
Using "ls -l" shows that the tool is owned by root:

-rwsr-xr-x 1 root martinva 27584 6 Sep 12:44 authtool

Maybe there is something wrong with the group that owns the tool?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Selection and insertion point handling w/ NSTextAttachments
  • Next by Date: Re: force entire window redraw?
  • Previous by thread: Re: Selection and insertion point handling w/ NSTextAttachments
  • Next by thread: Re: Help with pixellated NSTIFFRepresentation issues much appreciated
  • Index(es):
    • Date
    • Thread