FredHutch / lf-backup

lf-backup (aka large file backup) takes a list of filenames from a csv file or sql and copies the files to a swift objectstore
Other
0 stars 0 forks source link

set posix permissions in metadata #8

Open dirkpetersen opened 7 years ago

dirkpetersen commented 7 years ago

at the end of the backup_file function put in custom meta data posix_permissions and store permissions of the file and parent folder with some delimiter: user,group,access,folderuser,foldergroup,folderaccess, for example: 55000,10100001,0664,0,10100002,2770

bmcgough commented 7 years ago

Do you need any metadata from the DB for this, or will lb-backup store this all with the file in the object store?

dirkpetersen commented 7 years ago

No, I think Jeff can grab all that info from the file system as he is backing up file by file