Jump to content
Sign in to follow this  
Blaze9

Anyway to automate/cron "Docker Safe Permissions"?

5 posts in this topic Last Reply

Recommended Posts

Posted (edited)

Basically the title. I often use Windows to manage the files on a few of my folders, but if they were made/touched by the unraid system then windows doesn't have permission to move/delete them. Is there anyway to automate the docker safe permissions tool to run every x hours?

 

Thanks!

Edited by Blaze9

Share this post


Link to post

User scripts plugin

Script would be

newperms /mnt/user/nameOfShare

Sent via Tapatalk because I'm either at work or enjoying the summer

Share this post


Link to post

This solution is a sort of surrender, the real answer is to determine which process is munging the permissions and fix the permission options in that process. Pretty much all of the docker containers I am aware of have ways to specify what permissions the files they touch should be left with.

Share this post


Link to post
29 minutes ago, jonathanm said:

This solution is a sort of surrender, the real answer is to determine which process is munging the permissions and fix the permission options in that process. Pretty much all of the docker containers I am aware of have ways to specify what permissions the files they touch should be left with.

100% true, but sometimes it's just plain easier and less aggravating.

 

My /downloads sometimes gets left-over files in it that the client for whatever reason decided to not adjust the permissions on appropriately.  I just have newperms running against that share hourly as the 2 seconds to do the script was easier than yelling at the computer and spending the time to figure out why it only happened once in a while.  If I ever get bored, then I'll re-approach the problem, but for now, I just can't be bothered.

Share this post


Link to post
100% true, but sometimes it's just plain easier and less aggravating.
 
My /downloads sometimes gets left-over files in it that the client for whatever reason decided to not adjust the permissions on appropriately.  I just have newperms running against that share hourly as the 2 seconds to do the script was easier than yelling at the computer and spending the time to figure out why it only happened once in a while.  If I ever get bored, then I'll re-approach the problem, but for now, I just can't be bothered.
Quitter...

Sent from my Mi A1 using Tapatalk

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this