|
|
|
Okay, I'm down with all this. but what about the
Take this for example with the sendmail app:
Okay, I'm down with all this...
try "chmod 6555 /usr/sbin/sendmail" - that will get you -r-sr-sr-x, which works for my sendmail.
Okay, I'm down with all this. but what about the
01000000 temporary file 02000000 compressed file 4000 Hidden file (setuid bit) 2000 System file (setgid bit) 1000 Archive bit (sticky bit) 0400 Individual read 0200 Individual write 0100 Individual execute (or list directory) 0040 Group read 0020 Group write 0010 Group execute 0004 Other read 0002 Other write 0001 Other executeThis was copied from http://www.mkssoftware.com/docs/man1/chmod.1.asp These correspond to the numbers in addition to robg's.
Symbolic is probably easiest.
You can also use chmod u+s foo.bar to make the file setuid and chmod g+s foo.bar to make it setgid.
|
SearchFrom our Sponsor...Latest Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 days
Links last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2013 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Powered by Geeklog Created this page in 0.09 seconds |
|