I want the files created by the service to have read and write permissions for the group.
For example qbittorrent creates files with permissions -rw-r--r-- i.e. umask 022 and I need -rw-rw-r-- i.e. umask 002.
I tested adding:
to the /usr/local/etc/rc.d/qbittorrent but this doesnt help.
For example qbittorrent creates files with permissions -rw-r--r-- i.e. umask 022 and I need -rw-rw-r-- i.e. umask 002.
I tested adding:
Code:
start_precmd=qbittorrent_prestart
qbittorrent_prestart()
{
umask 002
}
to the /usr/local/etc/rc.d/qbittorrent but this doesnt help.