Flexget/Flexget

Please allow the option to specify directory / file modes for the move plugin (and others)

seitzbg asked for this feature over 1 year ago — 1 comment

seitzbg commented over 1 year ago

Currently the move plugin does the following:

os.makedirs(dst_path)

Could be:

os.makedirs(dstpath, dirmode) where dir_mode is something like '0755'.

And for moving files, near the end of class TransformingOps(BaseFileOps):

You could add the following call (For files):

os.lchmod(dst, file_mode) where file mode could be '0644'.

Thanks!

Join the discussion!

Sign-in with GitHub to comment