brinka123 wrote:In the security settinge is set deamonname to u user of the NAS.
We discussed this in this thread already..Can you delete downloaded files by a user of the NAS now?
I will try and test....
In the default configuration file that is put in place during install we set as user for the daemon (nobody) and an umask enabling deleting file for all users that have rw rights set in the firmare for the nzbget share. the umask setting of 000 will enable deleting files by other user the the username used to run the daemon
It is this part around line 300
- Code: Select all
# User name for daemon-mode, POSIX only.
#
# Set the user that the daemon normally runs at (POSIX in daemon-mode only).
# Set MainDir with an absolute path to be sure where it will write.
# This allows NZBGet daemon to be launched in rc.local (at boot), and
# download items as a specific user id.
#
# NOTE: This option has effect only if the program was started from
# root-account, otherwise it is ignored and the daemon runs under
# current user id.
DaemonUsername=nobody
# Specify default umask (affects file permissions) for newly created
# files, POSIX only (000-1000).
#
# The value should be written in octal form (the same as for "umask" shell
# command).
# Empty value or value "1000" disable the setting of umask-mode; current
# umask-mode (set via shell) is used in this case.
UMask=000
needles to say if you changed those you might get different behavior