[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cd writing



This one time, at band camp, Joe Wreschnig said:
> Two nitpicks; first, this is insecure if anyone else uses your system.
> The proper mode (IMO) is 4750, and then add the users you want to burn
> CDs to the cdrom group; only they'll be able to run the binary.
> 
> Secondly, that's not the sticky bit, it's the suid bit (which makes the
> process run as the owner of the binary regardless of the real uid of the
> person running it). The sticky bit either keeps executables in
> memory/swap after they've exited (hence the name), but the more common
> usage is on a directory, where it means that no one but the directory
> owner can delete or move files in the directory even if they have write
> permission. It's shown as +t in ls -l's output.
Caught me - writing without thinking again.  Sorry about that.  Yes, I
agree - it should be 4750 - that's how I have it here, as well.
Steve
-- 
Those lovable Brits department:
	They also have trouble pronouncing `vitamin'.

Attachment: pgpl1BtT6eqQ0.pgp
Description: PGP signature


Reply to: