Hello one and all!
I've a problem regarding change of file ownership on network shares.
Namely, we have several (large) CIFS shares on our NetApp storage systems where the native (user) quota management is based on file ownership. We plan to employ this quota management for automation purposes, but the problem is that our analysis showed that the owner of the majority of files on these shares is - Administrator. This is an unfortunate end-result of bad scripting from the past and we need to remedy this situation.
After a lot of thought, and keeping the overall complexity of folder structure in mind, it became clear that the ideal solution would be to simply have the users copy/move the files they need from their old network shares to newly created ones - and at the same time - have the ownership for each file copied/moved, change somehow "in-flight" so to speak.
Can this be done? Moving files from one NTFS volume, to another volume, where ownhership is configured to be inherited is feasible - but these are CIFS shares and it's not working.
I googled the subject but... no luck.
I must admit I'm stumped. Any ideas are more than welcome!