Snap Nextcloud 22
Kodi media center
Currently I have users added to root group in order to access the media files with Kodi.
What I have done so far.
Grant Root Privileges to user kodi
sudo usermod -aG sudo kodi
Add kodi to root group
sudo usermod -G root kodi
Verify New User
su - kodi
grep ‘^sudo’ /etc/group
Result should be.
Allow access to nextcloud folder currently is 750 owned by root.
sudo chmod 770 /var/snap/nextcloud/common/nextcloud
Allow access to nextcloud folder currently is 755 owned by root.
sudo chmod 775 /var/snap/nextcloud
Is there a better way to do this?