Date: Sun, 5 Sep 1999 12:02:03 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: zBasta <zbasta@zr.ru> Cc: freebsd-questions@freebsd.org Subject: Re: cannot change permissions on files Message-ID: <19990905120203.B295@marder-1> In-Reply-To: <17620.990905@zr.ru>; from zBasta on Sun, Sep 05, 1999 at 02:52:56PM %2B0400 References: <17620.990905@zr.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 05, 1999 at 02:52:56PM +0400, zBasta wrote: > I have a problem deleting files on FreeBSD-3.2 > > The situation: > ----------------- > -r--r--r-- 1 root wheel 7168 Jul 23 20:49 libcipher.so.2 > # chmod 777 libcipher.so.2 > chmod: libcipher.so.2: Operation not permitted > # whoami > root > ----------------- > Can one help me? Looks like it might have the schg flag set. Do ``ls -lo'' and look at the colomn to the left of the date. I could chmod that file, but not /kernel as it has the schg (immutable) flag set. marder-1# ls -lo libcipher* -r--r--r-- 1 root wheel - 6148 Feb 15 1999 libcipher.a lrwxrwxrwx 1 root wheel - 14 Apr 14 01:25 libcipher.so -> libcipher.so.2 -r--r--r-- 1 root wheel - 7192 Feb 15 1999 libcipher.so.2 -r--r--r-- 1 root wheel - 7338 Feb 15 1999 libcipher_p.a marder-1# chmod 777 libcipher.so.2 marder-1# !ls ls -lo libcipher* -r--r--r-- 1 root wheel - 6148 Feb 15 1999 libcipher.a lrwxrwxrwx 1 root wheel - 14 Apr 14 01:25 libcipher.so -> libcipher.so.2 -rwxrwxrwx 1 root wheel - 7192 Feb 15 1999 libcipher.so.2 -r--r--r-- 1 root wheel - 7338 Feb 15 1999 libcipher_p.a marder-1# chmod 444 libcipher.so.2 marder-1# cd / marder-1# ls -lo kernel -r-xr-xr-x 1 root wheel schg 1665191 Jun 30 00:59 kernel marder-1# chmod 755 kernel chmod: kernel: Operation not permitted > > Thank you, > Ruslan Sulakov, > Za rulem. > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- STATE-OF-THE-ART: Any computer you can't afford. OBSOLETE: Any computer you own. ________________________________________________________________ FreeBSD - The Power To Serve http://www.freebsd.org My Webpage http://ukug.uk.freebsd.org/~mark/ mailto:mark@ukug.uk.freebsd.org http://www.radan.com 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?19990905120203.B295>