[Samba] Large-scale ACL copying?
Simo Sorce
simo.sorce at xsec.it
Thu Dec 12 10:49:01 GMT 2002
Have you enabled acl in samba?
it is a compile time option + you need kernel support for acl on your
file system (ext2/3 or xfs only currently)
Simo.
On Thu, 2002-12-12 at 09:18, Andrew Furey wrote:
> 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++
--
Simo Sorce - simo.sorce at xsec.it
Xsec s.r.l.
via Durando 10 Ed. G - 20158 - Milano
tel. +39 02 2399 7130 - fax: +39 02 700 442 399
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20021212/e033124e/attachment.bin
More information about the samba
mailing list