johnsonb 12 Posted June 27, 2021 Posted June 27, 2021 I have been running emby under windows and I'd like to move to Linux. I tried a short while back however I could not get permissions correct. Well today I tried again. I created a group emby I entered the commands: chmod -R g+r /home/liveuser/Videos setfacl -m user:emby:rxw /home/liveuser/Videos I am nowhere, I cannot see the Videos directory under add library. I have looked around online and could not any solution. I am a neophyte when it comes to Linux, however it cannot be this complicated. thanks all
XcOM9876 9 Posted June 27, 2021 Posted June 27, 2021 Is the share local or is it mounted from a network source? you testing all this from a live CD given the user is called liveuser? There is a great guide here: It depends a lot on where the files are, local/network, and who is the owner of them.
johnsonb 12 Posted June 27, 2021 Author Posted June 27, 2021 Yes this is from a liveuser cd (fedora). Before I install it I want to be sure I can get the permissions set correctly. I'll look over the link you sent. thanks, Bj
johnsonb 12 Posted June 28, 2021 Author Posted June 28, 2021 1 hour ago, XcOM9876 said: Is the share local or is it mounted from a network source? you testing all this from a live CD given the user is called liveuser? There is a great guide here: It depends a lot on where the files are, local/network, and who is the owner of them. Well I made a Mint Live USB since Mint is what I plan (hope....) to use. I boot up, touch nothing and my testing folder library is seen just fine. I am not disparaging Fedora or trumpeting Mint. It just worked this way. Now to install and hope the luck lasts using my usb storage. thanks, Bj
johnsonb 12 Posted June 28, 2021 Author Posted June 28, 2021 Hmmmm. well usb drive rights are different I see. I cannot successfully execute chown (operation is not permitted) or setfacl (operation is not supported). Are USB drives really treated that differently.? thanks
XcOM9876 9 Posted June 28, 2021 Posted June 28, 2021 You should be able to set permissions using root on a USB stick providing it's not locked, it's a bit old but this might help you: https://forums.linuxmint.com/viewtopic.php?t=228865 It's worth noting though at Live CD's don't always function 100% due to them being live, Linux Mint is a good option, just follow any guides for Debian/Ubuntu and you'll be fine, to be honest if your not going to actively use the machine and you can do it via command line, then Ubuntu Server 20.04 is a very good option, I use a mix of Ubuntu 20.04 and CentOS8 for my servers, you get much better performance due to there not being any GUI loaded and them being trimmed down.
XcOM9876 9 Posted June 28, 2021 Posted June 28, 2021 Also what format is the USB storage in? NTFS, EXT3/4, BTFS, FZ?
johnsonb 12 Posted June 28, 2021 Author Posted June 28, 2021 1 hour ago, XcOM9876 said: You should be able to set permissions using root on a USB stick providing it's not locked, it's a bit old but this might help you: https://forums.linuxmint.com/viewtopic.php?t=228865 It's worth noting though at Live CD's don't always function 100% due to them being live, Linux Mint is a good option, just follow any guides for Debian/Ubuntu and you'll be fine, to be honest if your not going to actively use the machine and you can do it via command line, then Ubuntu Server 20.04 is a very good option, I use a mix of Ubuntu 20.04 and CentOS8 for my servers, you get much better performance due to there not being any GUI loaded and them being trimmed down. Hi. The usb drive is not locked and it is in NTFS. The livecd is because I wanted to get the usb library sorted out before I install Mint. If I cannot get this working I will have to go back to Windows for my emby box. Thanks
XcOM9876 9 Posted June 29, 2021 Posted June 29, 2021 So NTFS permissions can't be set via standard CHMOD, it's set based on the root mount settings, the below is an example mount settings to enable NTFS read/write. sudo mount -t ntfs -o rw,auto,user,fmask=0022,dmask=0000 /dev/whatever /mnt/whatever
johnsonb 12 Posted June 29, 2021 Author Posted June 29, 2021 26 minutes ago, XcOM9876 said: So NTFS permissions can't be set via standard CHMOD, it's set based on the root mount settings, the below is an example mount settings to enable NTFS read/write. sudo mount -t ntfs -o rw,auto,user,fmask=0022,dmask=0000 /dev/whatever /mnt/whatever thanks for the info. That explains alot. Bj 1
johnsonb 12 Posted July 1, 2021 Author Posted July 1, 2021 Well it still fails even using FAT32. It was not meant to me. I ordered two drive caddys and I'll mount the drives internally, that should clear up any rights issues and let me stay with Mint. Bj
johnsonb 12 Posted July 7, 2021 Author Posted July 7, 2021 I mounted the drives in the case, applied the right permissions and I was off to the races. I'm grateful I could stay with Linux Emby. The Windows box was slow and updating all the time, drove me nuts. Bj
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now