I connected a HDD to USB port, then Raspbian allow me to mount the unit.
So I can access to logical drive with this path:
Then I installed a DLNA server (serviio) to view the HDD content from TV, smartphone, notebook... etc.
The DLNA server runs as a service. The user is
dlna-group as primary group, and it is member of
So I run this command to apply required permission to allow
dlna-user to access to the
# chown -R root:media /media # chmod -R 777 /media
I think that it is right to permit
dlna-user to view the
/media folder and relative childs files and folders.
But it do not works: when I try to navigate inside the folder with
dlna-user user I receive "Permission denied":
- change operative user:
$ sudo -u dlna-user hash
now I using the
- go to
$ cd /media
- go to inside
$ cd pi
bash: cd: pi: Permission denied.
I don't understand...