Since last week I changed my core to a NUC running Ubuntu 16.04 . I’m trying to use a usb drive to store my music.
My NUC mounts the drive fine but I can’t seem to share that drive over the network (to add music to it from my mac). I’m unable to change the access rights of the drive to read and write. Even after a sudo nautilus command I can’t change ownership or access… The drive was formatted as exFat.
I’ve tested a few usb sticks as well but again I cannot change the permissions.
Also It seems I’m the owner of any drive that gets mounted… not root. Is that normal?
For now roon’s watched folder is on a NAS so I can access it just fine from my mac and roon is happy but I’d like to simplify my setup and only have a usb drive attached to the NUC. Obviously I need a way to add music to this drive but I’m failing to do just that
Did I mess something up? It must be possible to share drives…right?
I think that this is the issue. exFAT is a special beast and IIRC one has to pay a licensing fee to Microsoft to get full functionality. I think that a base linux install can read it, but not write it (I think).
Regardless, the FAT-based filesystems don’t have provisions for any sort of file ownership and aren’t the best option for something like this. Try reformatting the drive as ext4 and see if that improves things. I can’t remember for certain, but I think if it’s formatted ext4 the system won’t automatically mount it and you’ll either need to use the mount command or edit the fstab file with the appropriate info.
How does that work? The drive is mounted and I can access all files in nautilus.
I can also see the drive in osx finder but it has a no access sign…
When I right click in ubuntu and click and check permissions I can see the drive is owned by me and I have read and write access but I cannot change the access rights and ownership of group and others
Do you need to mount the drive on your macOS machine locally? If not – go ext4 and share it over the network.
From (distant) memory, on Ubuntu Desktop Samba is already installed. I guess the are ways to share the drive from the GUI, but otherwise the guide @evand linked to should work fine.
No as long as I can write to the drive after going to connect to server in finder it’s fine. I just need to be able to add music to it over the network.
I’ll try to format a usb stick as ext4 and see if I can change the permissions.
I can only connect as a guest from finder as the drive needs a user and password (but I never set one).
So when I connect as guest and add music to the drive it seems Ubuntu does not set an owner or group and the folder has a locked icon attached to it.
Roon has no problem adding the file to it’s library but I hope this doesn’t cause issues later on?