Date: Tue, 6 Jun 2000 12:33:24 +0930 From: Greg Lehey <grog@lemis.com> To: "Dan B. " <danielb@pacex.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to remove a 'sticky bit' Message-ID: <20000606123324.E57232@wantadilla.lemis.com> In-Reply-To: <Pine.BSF.4.10.10006051941200.495-100000@almazs.pacex.net> References: <Pine.BSF.4.10.10006051941200.495-100000@almazs.pacex.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Monday, 5 June 2000 at 19:47:29 -0700, Dan B. wrote: > Hi folks; > ls -la /usr/libexec/mail.local gives me: > > -r-sr-xr-s 1 root wheel 15040 .... /usr/libexec/mail.local What ls program are you using? Is this even FreeBSD? FreeBSD uses 't' for the sticky bit, so you should have seen -r-sr-xr-t 1 root wheel 15040 .... /usr/libexec/mail.local > as root I did: > > chmod 0 /usr/libexec/mail.local > > and I get the error: > > chmod: /usr/libexec/mail.local: Operation not permited This works fine for me, though I wonder what you're trying to do. Are you sure you were root? Maybe you have the schg flag set. What does ls -lo mail.local say? > how do i chmod this file? Certainly not to 0 if you intend to continue running it. 'chmod 4555 mail.local' would get it back to the default permissions. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000606123324.E57232>