Brian,
I believe it depends on what you want to be as a result at the end. If you'll flip the qtree to ntfs, do the chown, you will end up with ACLs. What do you want the files to be at the end - with or without ACLs ?
Eyal.
----------------------------------------------------------------- eTraitel - I'm the new eBuzzword around !!!
Filer Escalation Engineer CNA, MCSE, CSA, LCA, NetApp CA
Network Appliance BV Hoofddorp, The Netherlands Office: +31 23 567 9685 Cellular: +31 6 5497 2568
Get answers NOW! - NetApp On the Web - http://now.netapp.com -----------------------------------------------------------------
-----Original Message----- From: Brian Tao [mailto:taob@risc.org] Sent: Friday, August 31, 2001 1:41 AM To: toasters@mathworks.com Subject: Mass chown + preserve NT ACLs
We need to change the UNIX uid and gid on a home directory filesystem that is exported via NFS and CIFS. There are NT ACLs applied to some files and directories. Chowning a file via NFS loses the NT ACLs. The qtree is using mixed security style. Any way around this? Can I flip the qtree to an ntfs security style, do the chowns, then flip back to mixed style?
On Thu, 30 Aug 2001, Traitel, Eyal wrote:
I believe it depends on what you want to be as a result at the end.
I want the UNIX file ownership changed, but nothing else. ;-)
If you'll flip the qtree to ntfs, do the chown, you will end up with ACLs. What do you want the files to be at the end - with or without ACLs ?
This choice of action is moot anyway, as I discovered last night (and Mark Muhlestein also mentioned in private) that you cannot chown/chmod files on an ntfs-style qtree anyway. Sounds like the general solution is to record ACLs, chown, restore ACLs.