You are not logged in.
Recently, I've done fresh install of Arch Linux partitioned this way:
dev/sda1 /boot
dev/sda5 /
dev/sda6 /var
dev/sda7 swap
dev/sda8 /home
dev/sda9 /usr
dev/sda10 /tmp
With many packages added, / became full. I tried Gparted to resize and move the partition that needed to be resized and partitioned. It took up to 11 task Gparted should do and it would take over 12h. I decided to create new logical partitions beside my old partitions, labeled : root_temp, var_temp, home_temp, usr_temp. I used the cp -r ... command to transfer everything from the olds to the new partition. I deleted the old partitions and created new ones, labeled : ROOT, VAR, HOME, USR. I retransfered with cp -r from the temporary partition to the new one. I modified the menu.lst in /boot/grub so the kernel can recognize the root.
Problems:
All the files and folders are converted to root root permissions.
What I learned : Next time, I should use cp -av ...
http://www.oreillynet.com/linux/cmd/cmd.csp?path=c/cp
to preserve the permissions.
Any other thing's wrong with that technique?
Should I avoid completely the use of cp and wait over 12h?
Offline
Nothing wrong with what you did except as you said, should have preserved permissions.
Offline