From owner-freebsd-questions Sun Sep 5 4:11: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from sand2.global.net.uk (sand2.global.net.uk [195.147.246.100]) by hub.freebsd.org (Postfix) with ESMTP id 9EC0314E92 for ; Sun, 5 Sep 1999 04:10:51 -0700 (PDT) (envelope-from mark@globalnet.co.uk) Received: from p04s04a07.client.global.net.uk ([195.147.228.5] helo=marder-1.) by sand2.global.net.uk with esmtp (Exim 2.05 #1) id 11NaBD-0007Xz-00; Sun, 5 Sep 1999 12:09:52 +0100 Received: (from mark@localhost) by marder-1. (8.9.2/8.8.8) id MAA00666; Sun, 5 Sep 1999 12:02:03 +0100 (BST) (envelope-from mark) Date: Sun, 5 Sep 1999 12:02:03 +0100 From: Mark Ovens To: zBasta Cc: freebsd-questions@freebsd.org Subject: Re: cannot change permissions on files Message-ID: <19990905120203.B295@marder-1> References: <17620.990905@zr.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: <17620.990905@zr.ru>; from zBasta on Sun, Sep 05, 1999 at 02:52:56PM +0400 Organization: Total lack of Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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