can't remove directory

Eugene M. Minkovskii emin at mccme.ru
Thu Jan 6 02:14:38 PST 2005


On Thu, Jan 06, 2005 at 01:03:31AM -0800, Ted Mittelstaedt wrote:
" What is the error message when you:
" 
" cd /var/tmp
" 
" rm -r temproot
" 
" as the root user?
" 
" Ted

Sorry Ted. System write "Operation not permitted":

rm: /var/old-tmp/temproot/var/empty: Operation not permitted
rm: /var/old-tmp/temproot/var: Directory not empty
rm: /var/old-tmp/temproot: Directory not empty
rm: /var/old-tmp: Directory not empty


" > -----Original Message-----
" > From: owner-freebsd-questions at freebsd.org
" > [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of Eugene
" > M. Minkovskii
" > Sent: Thursday, January 06, 2005 12:55 AM
" > To: freebsd-questions at freebsd.org
" > Subject: can't remove directory
" >
" >
" > Hi!
" >
" > some months ago I'm install FreeBSD 5.2.1 on my PC. When I do it
" > I set default partition size. For example /var has 256 Mb. After
" > some time I found that It is too small for me. I move a lot of
" > directory to /usr and make symlinks to it:
" >
" > mkdir /usr/var
" > mv /var/tmp /var/mail /var/log /usr/var
" > cd /var
" > ln -s /usr/var/tmp
" > ln -s /usr/var/mail
" > ln -s /usr/var/log
" >
" > All of this working nice, except one: I cant remove /var/tmp.
" > Only rename working. In this directory placed one "dyeless"
" > directory /var/tmp/temproot/var/empty.
" >
" > How can I remove this directory? I try to fsck -y in single user
" > momde, I trying rm -rf /var/tmp/temproot/var/empty in single user
" > mode with only /var mounted. But All of this useful.
" >
" >
" > --
" > Sensory  yours, Eugene  Minkovskii
" > Сенсорно ваш,   Евгений Миньковский
" > _______________________________________________
" > freebsd-questions at freebsd.org mailing list
" > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
" > To unsubscribe, send any mail to
" > "freebsd-questions-unsubscribe at freebsd.org"
" >
" 
" _______________________________________________
" freebsd-questions at freebsd.org mailing list
" http://lists.freebsd.org/mailman/listinfo/freebsd-questions
" To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
Sensory  yours, Eugene  Minkovskii
п║п╣п╫я│п╬я─п╫п╬ п╡п╟я┬,   п∙п╡пЁп╣п╫п╦п╧ п°п╦п╫я▄п╨п╬п╡я│п╨п╦п╧


More information about the freebsd-questions mailing list