Jump to content

Permissions for medai shares on Linux?


Recommended Posts

Posted

Hi,

I was using Jellyfin and it has some issues.

No offense to the Jellyfin devs.

I am sure they're doing an awesome job considering Jellyfins popularity.

However, Jellyfins addon/extension culture is REALLY messed up and disorganized and you can't find

any REAL and CLEAR troubleshooting information on some of the plugins I wanted to use that were just messing up everything.

New user for Emby.

Fairly new for Linux (about 2yrs now)

I have a NTFS formatted media drive 

I want IT to be the media drive for Emby on Linux

I have mounted it in fstab, installed Emby 

Here is my fstab |

# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=5A63-0C29                            /efi           vfat    fmask=0137,dmask=0027 0 2
UUID=4da47b34-3c7d-4740-992f-d01034c393c5 /              ext4    noatime    0 1
UUID=bf62f847-7d2d-4d96-8778-105aeb2289c7 swap           swap    defaults   0 0
tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
UUID="4A1CFAC97DF19F28" /mnt/Media ntfs uid=64522,gid=64522,dmask=022,fmask=133 noatime 0 0
#UUID="4A1CFAC97DF19F28"                   /mnt/Media     ntfs    defaults,noatime 0 0
#UUID="881e4150-2e3b-4eab-bace-62664c8c37e3" /mnt  noatime 0 0

I would like to know the proper format to implement the proper permissions for emby (gid=64522) on the media drive.

In my example above, do you think this will work?

I just spent 3 days copying media fails over so I would rather NOT re-format the drive to ext (but I will if that means no issues will playback for all users in my home).

Currently, I have a samba share on the media server to allow me to backup the main NTFS formatted media drive (attached to my personal desktop).

I dod this because I also have a windows 2016 server file server and media server that runs if/when the Linux media server one gets borked and I have to fix it.

I've been using Jellyfin and lots of "hardly any documentation to troubleshoot add-ons and extensions" and it gets messed up all the time purely through my own ignorance of the ext/add-on system and Jellyfins lack of control over it and documentation on most of it as Jelly provides hardly ANY useful add-ons and extensions and it looks like crap without them.SO, is what it is.

I don't want to get down on the Jellyfin devs though, that is not my point here, I am 100% sure that my Jellyfin issues are due to my own ignorance and so Jellyfin is not for me.

I started over with Jellyfin 5 times before saying <insert bad word here and add "it"> and purchasing Emby instead.

SO, I'm done with Jellfin and am now here where I now have a professionally purchased media server that is NOT <insert bad word here> PLEX!

My main goal with THIS thread is to get the proper permissions et on the NTFS media share so everyone in the house can use Emby clients to access the server OR to find out it cannot be done and reformat the media share drive to ext4 and start over again in order to accomplish that?

I have two media share users

my admin user (same as the samba share) ME

my 1 user (same as the samba share) home is the username

this is my smb.conf

[Media]
   comment = Samba Share
   path = /mnt/Media/
   valid users = ME home
   public = no
   writable = yes
   printable = no
   create mask = 0765

THANK YOU all for any help forthcoming.

tedfroop21
Posted

 

  • Like 1
Posted

@Noobrplease let us know if this helps. Thanks !

Posted (edited)

I read that.

Well- I am a noobr, hence the name.

So, if I add this

Quote

UUID="4A1CFAC97DF19F28" /mnt/Media ntfs rw,uid=64522,gid=1001,dmask=022,fmask=133 noatime 0 0

I assume that will allow my home user (home = hm:x:1001:1001::/home/hm:/usr/bin/bash) to connect to and playback media? How can I add a 2nd user? Or is that what the article is talking about when it says 1 set of permission for the whole drive? Just one user?

I have 4 users that will need to access the SMB share from Windows clients and they will also need to be able to use Emby clients.

This is doable?

I want them to access the SMB share itself when I am done. Read access only.

 

Edited by Noobr
change
Posted

I think I am over thinking this.

I got some issues with that.

I just added uid emby and guid mylogonuser to fstab  and am adding folder to emby now.

It sees ot be populating the server just fine on the server machine itself..I have not yet tried o access it remotely

thats another step.

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...