Permissions for /mnt/recordings (SMB share)
Added by Stefan N. almost 8 years ago
Hi folks,
I finally managed to get TVH to work on my RPi3 with Raspbian Jessie after I installed the drivers for my USB DVB-S2 card. I also managed to map my Windows network share to /mnt/recordings. However, I can't do any recordings as the user TVH uses (I assume its hts) has no write permission in /mnt/recordings. The share is mounted via /etc/fstab during boot using:
//192.168.178.23/Aufnahmen /mnt/recordings cifs username=User,password=Password,x-systemd.automount,x-systemd.requires=network-online.target 0 0
Unfortunately, I do only have little Linux knowledge. Can anyone please tell me what I have to do that hts can write into /mnt/recordings?
Best regards
Stefan
Replies (4)
RE: Permissions for /mnt/recordings (SMB share) - Added by Mark Clarkstone almost 8 years ago
chown hts:hts -R /mnt/recordings
RE: Permissions for /mnt/recordings (SMB share) - Added by Stefan N. almost 8 years ago
I tried that and always got a
chown: changing ownership of ‘/mnt/recordings’: Permission denied
Even with a "sudo su" upfront I got the same error message
RE: Permissions for /mnt/recordings (SMB share) - Added by Mark Clarkstone almost 8 years ago
Stefan N. wrote:
I tried that and always got a
[...]
Even with a "sudo su" upfront I got the same error message
Ah, you're not setting the uid for the share, see: https://ubuntuforums.org/showthread.php?t=1409720
RE: Permissions for /mnt/recordings (SMB share) - Added by Stefan N. almost 8 years ago
Thanks a lot, now it works!