Set umask/permissions for newly created directories
Set umask/permissions for newly created directories
In my scenario I'm running the `fn:amc` script through the filebot cli and I want to be able to control the permissions of the directories that filebot creates when it moves the files. How can I do this? Is it possible? Thank you!
Re: Set umask/permissions for newly created directories
Presumably, the filebot process will inherit and use the umask of the current shell context. This should work for any tool or program that doesn't explicitly set the permissions one way or another.
If that doesn't work for you, then you can always use --def exec to call chown to explicitly set the file and folder permissions after processing:
If that doesn't work for you, then you can always use --def exec to call chown to explicitly set the file and folder permissions after processing:
Code: Select all
--def exec="echo {quote f}"
Please read the FAQ and How to Request Help.