Can not remove directory

Proc proc at reddaemon.stargazer.2y.net
Wed Oct 8 22:16:52 PDT 2003


man rm
Note -r and -f.


Boris Kovalenko wrote:

> Hello!
> 
>    Can not remove directory /usr/obj/usr/src/gnu/usr.bin/cc/cc1
> rm: /usr/obj/usr/src/gnu/usr.bin/cc/cc1: Directory not empty
> 
> bash-2.05b# pwd; ls -la
> /usr/obj/usr/src/gnu/usr.bin/cc/cc1
> total 4
> drwxr-xr-x   2 root  wheel  512 Oct  9 08:54 .
> drwxr-xr-x  13 root  wheel  512 Oct  9 08:54 ..
> 
> bash-2.05b# pwd; ls -la
> /usr/obj/usr/src/gnu/usr.bin/cc
> total 26
> drwxr-xr-x  13 root  wheel   512 Oct  9 08:54 .
> drwxr-xr-x  21 root  wheel   512 Oct  9 11:23 ..
> drwxr-xr-x   2 root  wheel   512 Oct  9 08:55 c++
> drwxr-xr-x   2 root  wheel   512 Oct  9 08:55 c++filt
> drwxr-xr-x   2 root  wheel   512 Oct  9 08:54 cc1
> drwxr-xr-x   2 root  wheel   512 Oct  9 08:55 cc1obj
> drwxr-xr-x   2 root  wheel  1024 Oct  9 08:55 cc1plus
> drwxr-xr-x   2 root  wheel   512 Oct  9 08:55 cpp
> drwxr-xr-x   2 root  wheel   512 Oct  9 08:55 cpp0
> drwxr-xr-x   2 root  wheel   512 Sep 26 10:34 doc
> drwxr-xr-x   2 root  wheel   512 Oct  9 08:55 gcov
> drwxr-xr-x   2 root  wheel   512 Oct  9 08:55 protoize
> drwxr-xr-x   2 root  wheel   512 Oct  9 08:55 tradcpp0
> 
> What is wrong? Current system is 5.1-RELEASE-p8
> 
> Yours truly,
>    Boris Kovalenko
> 
> 
> _______________________________________________
> freebsd-current at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe at freebsd.org"



More information about the freebsd-current mailing list