Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 1998 17:48:36 -0500
From:      "Larry S. Marso" <larry@marso.com>
To:        =?iso-8859-1?Q?P=E5l_Sommerhein?= <paalsom@ifi.uio.no>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Trying to delete /usr/obj, but _she_ won't let me :-(
Message-ID:  <19981117174835.J17191@marso.com>
In-Reply-To: =?iso-8859-1?Q?=3C3651F392=2EE4B391A2=40ifi=2Euio=2Eno=3E=3B_from_P=E5l_?= =?iso-8859-1?Q?Sommerhein_on_Tue=2C_Nov_17=2C_1998_at_11:07:14PM_%2B0100?=
References:  <3651F392.E4B391A2@ifi.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
chflags -R noschg /usr/obj

Best regards
-- 
Larry S. Marso
larry@marso.com



On Tue, Nov 17, 1998 at 11:07:14PM +0100, Pål Sommerhein wrote:
> I did
>   # rm -rf /usr/obj
> but I got 'permissioned denied messages' for these three files:
>    /usr/obj/usr/src/tmp/usr/lib/libc.so.3.1          (size 423034)
>    /usr/obj/usr/src/tmp/usr/lib/libc_r.so.3.0        (size 468922)
>    /usr/obj/usr/src/tmp/usr/libexec/ld.so*	     (size  69632)
> (a recursive listing is provided at the end of the mail)
> 
> May I delete these files?  And if so, how do I proceed?
> 
> (I have tried:  
>       # cp -Rp libc /tmp
>       # cd /tmp/lib
>       # rm libc.so.3.1 
>       override r--r--r--  bin/bin schg for libc.so.3.1? yes
>       rm: libc.so.3.1: Operation not permitted
>       # chmod 700 libc.so.3.1 
>       chmod: libc.so.3.1: Operation not permitted
>       # 
> )
> 
> Any help appreciated.
> Take care,
> Pål
> 
> --- The following is a recursive listing of /usr/obj ---
> 
> # ls -alR /usr/obj
> total 3
> drwxr-xr-x   3 bin   bin    512 17 nov 15:00 ./
> drwxr-xr-x  21 root  wheel  512 17 nov 21:35 ../
> drwxr-xr-x   3 root  bin    512 17 nov 15:00 usr/
> 
> /usr/obj/usr:
> total 3
> drwxr-xr-x  3 root  bin  512 17 nov 15:00 ./
> drwxr-xr-x  3 bin   bin  512 17 nov 15:00 ../
> drwxr-xr-x  3 root  bin  512 17 nov 21:40 src/
> 
> /usr/obj/usr/src:
> total 3
> drwxr-xr-x  3 root  bin    512 17 nov 21:40 ./
> drwxr-xr-x  3 root  bin    512 17 nov 15:00 ../
> drwxr-xr-x  3 root  wheel  512 17 nov 21:37 tmp/
> 
> /usr/obj/usr/src/tmp:
> total 3
> drwxr-xr-x  3 root  wheel  512 17 nov 21:37 ./
> drwxr-xr-x  3 root  bin    512 17 nov 21:40 ../
> drwxr-xr-x  4 root  wheel  512 17 nov 21:37 usr/
> 
> /usr/obj/usr/src/tmp/usr:
> total 5
> drwxr-xr-x  4 root  wheel   512 17 nov 21:37 ./
> drwxr-xr-x  3 root  wheel   512 17 nov 21:37 ../
> drwxr-xr-x  2 bin   bin    2048 17 nov 21:37 lib/
> drwxr-xr-x  2 bin   bin     512 17 nov 21:37 libexec/
> 
> /usr/obj/usr/src/tmp/usr/lib:
> total 899
> drwxr-xr-x  2 bin   bin      2048 17 nov 21:37 ./
> drwxr-xr-x  4 root  wheel     512 17 nov 21:37 ../
> -r--r--r--  1 bin   bin    423034 17 nov 16:02 libc.so.3.1
> -r--r--r--  1 bin   bin    468922 17 nov 16:02 libc_r.so.3.0
> 
> /usr/obj/usr/src/tmp/usr/libexec:
> total 70
> drwxr-xr-x  2 bin   bin      512 17 nov 21:37 ./
> drwxr-xr-x  4 root  wheel    512 17 nov 21:37 ../
> -r-xr-xr-x  1 bin   bin    69632 17 nov 15:14 ld.so*
> #
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

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?19981117174835.J17191>