Page 1 of 1

folder creation permissions

Posted: 21 Jul 2013, 23:31
by gdelc
Hello,
using CLI and a modded AMC.groovy script. I use filebot to manage a remote moviebase on my local network. The movies are stored on a qnap nas, and i found a permissions issue that bother me: when fiilebot manages to create a folder on the remote drive, it creates it with 750 permissions, and i want/need/like to have 775 permissions...

any obscure parameter in filebot or a magical java voodoo ?

as always: Rednoah and it's filebot help's world to "cancel the apocalypse" ;)

Re: folder creation permissions

Posted: 22 Jul 2013, 04:46
by rednoah
No idea...

Maybe you can use the exec feature to just run chmod on all newly processed files?

Code: Select all

--def exec=command {file}
Try adding this to the amc cmdline:

Code: Select all

"--def exec=chmod 775 \"{file}\""

Re: folder creation permissions

Posted: 23 Jul 2013, 06:57
by gdelc
Okay, that works for the files, so same for {folder} ?

Re: folder creation permissions

Posted: 23 Jul 2013, 07:03
by rednoah
Should work. Just give it a try. ;)

Re: folder creation permissions

Posted: 25 Jul 2013, 22:58
by gdelc
it works like a charm... good Job as always :D !