Brian,
You could use a third party NT tool like Small Wonder's "Security Explorer" to backup the NT ACL's on the whole tree then restore them when you have completed the uid and gid changes.
Dave Kennard (Dave.Kennard@Shell.Com) "Signature space for rent - Apply within."
-----Original Message----- From: Brian Tao [mailto:taob@risc.org] Sent: 31 August 2001 00:41 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 Fri, 31 Aug 2001, Kennard, Dave M SITI-ISEL-31 wrote:
You could use a third party NT tool like Small Wonder's "Security Explorer" to backup the NT ACL's on the whole tree then restore them when you have completed the uid and gid changes.
But when it restores the ACLs, it will do so on all the files, thus converting all files to NTFS-style security, even though they were UNIX style before? I guess I can download the eval version and try it out. Even better would be a UNIX utility to do this kind of thing (investigating smbcacls from Samba right now).