I want to move the directories in /usr/local to a new partition
(just recovered from an old windows install). I thought I could do
the following:
1. copy the directory structure  under /usr/local to the new
partition
2. remove the old directory structure under /usr/local
3. mount the new partition under /usr/local by changing fstab

In doing a bit of experimenting before the big step, I have
copied the directory, including permissions, to the new
partition (which is presently mounted at /hdb4). I used
(cd /source; tar cf - .) | (cd /dest; tar xvfp -)
When I attempted to remove (as root) an old subdirectory under
/usr/local using  'rm -d', I got an "Operation not permitted"
response. The info reference on 'rm' gives the '-d' option.

So I have two general questions:
(1) Should I do this another way
(2) Why do I get the "Operation not permitted" 

I have debian 1.3.1, with a few hamm programs thrown in, and
have jdk1.1.1, Star Office, netscape, chimera, and mutt in
/usr/local. Thanks for any help.


-- 
Gary


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to