Results 1 to 2 of 2
I have a SLES10 SP1 server with 1TB of data which is served to Windows and Mac clients via Samba. In order to move the data to a new disk ...
- 12-10-2007 #1Just Joined!
- Join Date
- Oct 2007
- Posts
- 7
Copying files with ACLs in SUSE Linux Enterprise 10
I have a SLES10 SP1 server with 1TB of data which is served to Windows and Mac clients via Samba. In order to move the data to a new disk array, I tried to copy all the directory structure to the new filesystem. I used the cp -r command to copy all the data, and then mounted the new filesystem in the place under root where Samba is looking.
Only when my users could no longer access their data did I realise that the cp command strips the Access Control List (ACL) data from the files. Having made trials with different cp options and also using Gnome's Nautilus, I've found that everything I try strips away the ACLs from the files.
Can anyone tell me how to copy files from the server? I tried using an XP workstation, but it's too slow. Any ideas?
Many thanks in advance,
Amy
- 12-10-2007 #2
Try using the =a parameter (archive)
See man -A cp for more info


Reply With Quote