folder creation permissions

Any questions? Need some help?
Post Reply
gdelc
Donor
Posts: 41
Joined: 16 Jun 2013, 19:46

folder creation permissions

Post 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" ;)
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: folder creation permissions

Post 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}\""
:idea: Please read the FAQ and How to Request Help.
gdelc
Donor
Posts: 41
Joined: 16 Jun 2013, 19:46

Re: folder creation permissions

Post by gdelc »

Okay, that works for the files, so same for {folder} ?
User avatar
rednoah
The Source
Posts: 22994
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: folder creation permissions

Post by rednoah »

Should work. Just give it a try. ;)
:idea: Please read the FAQ and How to Request Help.
gdelc
Donor
Posts: 41
Joined: 16 Jun 2013, 19:46

Re: folder creation permissions

Post by gdelc »

it works like a charm... good Job as always :D !
Post Reply