Quantcast
Channel: Data Protector Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3189

DP9 Linux file restore default permissions parent path

$
0
0

 Is there a way to change the permissions of a restored file's parent directory structure? Currently, when I restore a file from any Linux filesystem to our 'restore staging area', this happens:

Original file: /path/to/file.txt

posix ACLs exist for 'path' and 'to' and 'file.txt' and permissions for all are 770 with ownership user:group  

 

Restored file: /restored_staging_area/path/to/file.txt

'restored_staging_area' is root:root 711, yet no matter what boxes I check (namely 'Restore protection attributes')  'path' and 'to' are 777! with user:group intact though. This allows any user to see all the way down the restore tree. 'file.txt' permissions are intact, but this is still a major problem.

Certainly I could write a post-job script to chmod some stuff, but what if the original path is totally gone and it had complicated ACLs?

 

 


Viewing all articles
Browse latest Browse all 3189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>