Also just throwing one more thing in there, the way my media is set up also requires a change in the ownsership of the files as well which can be done with:
"exec=chmod 775 '{folder}/' ; chown owner:group '{folder}/'"
For the folder + subdir or
"exec=chmod 775 '{file}' ; chown owner:group ...
Search found 3 matches
- 24 Mar 2014, 03:44
- Forum: Scripting and Automation
- Topic: NAS File Permissions
- Replies: 3
- Views: 5270
- 24 Mar 2014, 03:30
- Forum: Scripting and Automation
- Topic: NAS File Permissions
- Replies: 3
- Views: 5270
Re: NAS File Permissions
Awkward moment i even though of solution 2 with using the ' ' but ended up not testing..
Anyway thanks for the help. Proves just how tired when i was doing it considering i missed something else that was pretty simple as well.
Using just:
"exec=chmod 775 -R '{folder}'"
will just spit out "No ...
Anyway thanks for the help. Proves just how tired when i was doing it considering i missed something else that was pretty simple as well.
Using just:
"exec=chmod 775 -R '{folder}'"
will just spit out "No ...
- 23 Mar 2014, 10:00
- Forum: Scripting and Automation
- Topic: NAS File Permissions
- Replies: 3
- Views: 5270
NAS File Permissions
I've got FileBot running on my NAS pretty much exactly the way i want it but each time a file is renamed the permissions get changed to 666.
I've tried putting this in the command:
"exec=chmod 775 "{file}""
Also tried
"exec=chmod 775 -R "{folder}""
Both spit out this:
Execute: chmod -R 775 ...
I've tried putting this in the command:
"exec=chmod 775 "{file}""
Also tried
"exec=chmod 775 -R "{folder}""
Both spit out this:
Execute: chmod -R 775 ...