I followed the guides on this forum and made sure I chown the dir but I keep on getting this error.
May 09 07:29:09 DietPiHole python2.7[2406]: 2020-05-09 07:29:09,751::ERROR::[misc:1636] Cannot change permissions of /mnt/G2/Incomplete
mount :
//192.168.68.118/G2 on /mnt/G2 type cifs (rw,relatime,vers=3.1.1,cache=strict,username=dummy,uid=1000,forceuid,gid=1000,forcegid,addr=192.168.68.118,file_mode=0770,dir_mode=0770
Help?
sabnzbd Cannot change permissions of
Re: sabnzbd Cannot change permissions of
Hi,
many thanks for your report. Looks like you are mounting the network drive as user dietpi with read/write permissons for user/group dietpi. So you would need to ensure that user who is running sabnzbd is part of that group.
many thanks for your report. Looks like you are mounting the network drive as user dietpi with read/write permissons for user/group dietpi. So you would need to ensure that user who is running sabnzbd is part of that group.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Re: sabnzbd Cannot change permissions of
I am already running it in dietpi group.
See:
See:
[Unit]
Description=sabnzbd DietPi
[Service]
User=sabnzbd
Group=dietpi
Type=simple
ExecStart=/usr/bin/python2.7 /etc/sabnzbd/SABnzbd.py -f /etc/sabnzbd/sabnzbd.ini
[Install]
WantedBy=multi-user.target
/etc/systemd/system/sabnzbd.service (END)
root@DietPiHole:~# groups sabnzbd
sabnzbd : sabnzbd dietpi
root@DietPiHole:~#
Re: sabnzbd Cannot change permissions of
Hmm usually it should work. Unfortunately I'm not able to test it fully as I don't have a Usenet account
to verify that user sabnzbd has sufficient write access, you can do following
Or you can try to change primary group
don't forget to restart the system afterwards
to verify that user sabnzbd has sufficient write access, you can do following
Code: Select all
sudo -u sabnzbd touch /mnt/G2/Incomplete/test.file
sudo -u sabnzbd touch /mnt/G2/test.file
Code: Select all
usermod -g dietpi sabnzbd
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team