Jump to content

Dietpi Emby permissions when adding new content


Brammes01

Recommended Posts

Brammes01

Hello.

 

At my raspberry pi i have mounted an external HDD

/mnt/dietpi_userdata/media

I have a MEDIA folder that has currently 3 folders in it:

-----------------------------

- paths

      * cache

      * metadata

      * transcoding

- movies

     * Movie A

     * Movie B

     * Movie C

     * ..

-tvseries

 

------------------------------

The problem that i did face was when I click on a movie, you see the actors, rating, information etc.

If i clicked on a button, and select in the submenu: "Edit subtitle", I try to search for missing subs.

(opensubtitle.org login is OK).

 

Emby couldn't write the subs to the folder, because it doesnt have permission. To fix that I did the following next 2 commands in the console:

 

chmod 770 -R /mnt/dietpi_userdata/media 

chown -R emby:emby /mnt/dietpi_userdata/media 
 
The result is that everything works, subs gets added.
 
When i put a new movie from my PC to my raspberry pi HDD (/mnt/dietpi_userdata/media/movies/) using SAMBA.
Somehow permissions reset, and when i try to search for subs, it can't download them because it doesnt have write permissions.
 
Does anyone have a idea how to fix this forever?
 

                                       

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...