You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice how in step 3 the file permissions get changed from the normal 644 (rw-r--r--) to 700 (rwx------) which leads to problems further down the line. I tried to combat this behaviour with ACLs but that only works for newly created files so it looks like it's being set deliberately. Those permissions do not come from the RAR file (-ai should ignore them anyway).
The file in question can be found on DS (4156a6cc26932bfe4faf54beb77875f7e8841e22). I can share the NZB if you don't have access to DS.
The text was updated successfully, but these errors were encountered:
In my experience, this is caused by file permissions inside the archive having different permissions already set. Have you tried the suggestion on the Unpack page of the NZBget settings for "UnrarCmd"? I changed mine to unrar x -ai and this problem went away.
Full path to unrar executable.
Example: /usr/bin/unrar.
The option can also contain extra switches to pass to unrar. To the here defined command line NZBGet adds the following switches:
x -y -p- -o+ *.rar ./_unpack/
Switch "x" is added only if neither "x" nor "e" were defined in the option (this allows you to use switch "e" instead of "x"). switch "-o+" is added only if neither "-o+" nor "-o-" were defined in the command line. All other parameters are always added. Parameter "-p-" is replaced with "-ppassword" if a password is set for nzb-file.
Examples:
ignore file attributes (permissions):
/usr/bin/unrar x -ai;
decrease priority of unrar-process:
nice -n 19 unrar.
For other useful switches refer to unrar documentation.
I use
unrar -ai
and everything worked correctly until I found this one particular NZB:[INFO] Found archive files not processed by direct unpack, unpacking all files again
Notice how in step 3 the file permissions get changed from the normal 644 (
rw-r--r--
) to 700 (rwx------
) which leads to problems further down the line. I tried to combat this behaviour with ACLs but that only works for newly created files so it looks like it's being set deliberately. Those permissions do not come from the RAR file (-ai
should ignore them anyway).The file in question can be found on DS (
4156a6cc26932bfe4faf54beb77875f7e8841e22
). I can share the NZB if you don't have access to DS.The text was updated successfully, but these errors were encountered: