[Samba] Large-scale ACL copying?
Andrew Furey
andrew at terminus.net.au
Thu Dec 12 08:19:46 GMT 2002
Hi all,
Well, I'm getting somewhere I think, I now have both ACL support and
domain login basically working. However I'm at a bit of a loss as to how
to proceed.
Basically I want to copy over a large number of files and directories
(~300k files, ~60Gb total) from an existing W2k server to a Samba
server. These files have existing ACLs set, so I need to preserve them
somehow.
I can of course copy over the files themselves using any number of
methods "from" either machine, but the majority of them don't have any
knowledge of ACLs at all. I've been trying to use xcopy /o, but it gives
"Access Denied" and a file size of 0. (The "force unknown acl user"
option is supposed to fix this, but it seems to be ignored according to
testparm -x - or am I doing something wrong?)
I could try copying them over and then seting the ACLs either through
the Security dialog or with setfacl, but given that they're not all
predictable (any random subfile could have rather different ACLs to its
parent dir), and also given the sheer number involved, it would take,
um, a while :(
This is Samba 2.2.7a on Debian unstable (can be reverted to stable if
need be), and a fairly standard W2k server on domain-level security.
Any ideas for an [easier] way to do this?
TIA
Andrew
--
ANDREW FUREY <andrew at terminus.net.au> - Sysadmin/developer for Terminus.
Providing online networks of Australian lawyers (http://www.ilaw.com.au)
and Linux experts (http://www.linuxconsultants.com.au) for instant help!
Disclaimer: http://www.terminus.net.au/disclaimer.html. GCS L+++ P++ t++
More information about the samba
mailing list