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

seitzbg asked for this feature over 3 years ago — 1 comment

seitzbg commented over 3 years ago

Currently the move plugin does the following:


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'.


Join the discussion!

with GitHub to comment