-
Notifications
You must be signed in to change notification settings - Fork 24
how to set the different chmod permissions? #25
Copy link
Copy link
Open
Description
Hi,
I'm struggling with the getting your script to dump the db with more flexible permissions than 600 so I can then have my backup server access the files with a different user/group than root.
I've tried a combination of the following commands, the first half of the command works, but the 2nd half doesn't. It doesn't seem like the POSTBACKUP variable having more than 1 command:
POSTBACKUP: "chown -R 0:1001 /backup;chmod -R 660 /backup"
after testing that and realizing it did not work, I slightly altered it to:
POSTBACKUP: "chown -R 0:1001 /backup && chmod -R 660 /backup"
Which also does not work.
Any advice or suggestions here so I can get it to set the chmod permissions of 660 after it's done running?
I'm using your latest docker image.
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels