For historical reasons, I have some files associated with an obsolete user.
In the past I have used BatChmod to sort things out, but this does not seem to be working anymore.
So I need to change the top level folder in terms of ownership, group access etc and all lower files and folders recursively, and remove any custom ACLs.
Can this be done in KM or is there and alternative to BatChmod?
Agreed, but I'm always hesitant about making mass changes to files of any sort. Probably comes from years of supporting users of our batch renaming tool who managed to delete their files' extensions :).
That'll nuke the ACLs, but won't do anything for ownership, user and group permissions, etc.
Can you be more specific?
Also, you may find you can do what you want from the Finder. "Get Info..." on the top-level folder, explicitly set ownership and permissions there, then use the "..." button to "Apply to enclosed items...".
Also, you may find you can do what you want from the Finder. "Get Info..." on the top-level folder, explicitly set ownership and permissions there, then use the "..." button to "Apply to enclosed items...".
Had not found this drop down before via file info, (not very obvious)
So thanks for that pointer....
File info is taking a very long time to fetch the info on the owner, any ideas..
It looks a bit brute force to do everything, regardless of whether a change is needed or not, but I've found it isn't much, if at all, slower than finding the files that are wrong and changing only those.
If this is on a network share and you have the requisite access to the host -- do it on the host. It's a lot easier to set the right user and group IDs, and it'll likely be much faster than doing it from a client device. You may have to tweak the command options, depending on platform.