Start a Conversation

This post is more than 5 years old

Solved!

Go to Solution

713

October 9th, 2014 16:00

Permission not copying during migration

Their is a deep directory structure and 4 layers down or 8 layers down the directory structure there are some files and directories which do not have administrator permissions  and only the owner has permission . Due to this when we copy Data these folder and files throw access denied errors. The Major challenge is to find these files and directories and change  their permissions and run the copy again , this difficult task as their are thousands of files per directory . does anyone have a script or an idea on how to easily solve this problem?

1.2K Posts

October 10th, 2014 04:00

The PermissionRepair job directly on the Isilon might help, but sets all ownerships and permissions identical.

If that is not what you want, the classic UNIX commands find, chmod and chown should do it; the exact script would depend on what is actually needed.

-- Peter

5 Posts

October 10th, 2014 05:00

Thanks, this helps a lot.

4 Posts

October 10th, 2014 07:00

Is this using SMB shares of NFS exports?

If you're using SMB - I usually create a hidden share just for migrations.  I give select accounts "run as root" share permissions (in the SMB shares settings for the share).  I only use this share for file copy/migration purposes.

On the Isilon - If you're trying to copy over owner information, you'll get access denied when trying to set the owner unless the account has run as root perms on the share.

No Events found!

Top