Linux Kodibuntu: how are USB-disks automounted and what determines the permissions?
#1
Hi!

I've got a xbmcbuntu box (upgraded to kodibuntu) with a USB-disk plugged in. The disk is automatically mounted in /media/SAMSUNG. I have not done any configuration for this and it's not configured in /etc/fstab.

What I can't figure out is why it's mounted (ie: where is this configured?) and how the permissions on the files and directories on it are set.

I've found a couple of things, but none of them seem to explain it. For example there's /usr/bin/diskmounter in which it says:

Code:
OPTIONS='user,fmask=0133,dmask=0022,uid=1000,gid=1000'

In reality though all directories are 0700 and files are 0600, which is not what the line above should result in.

This makes me wonder if this diskmounter file is even being used, and if so: how is that configured to run on startup and why do the permissions not match the OPTIONS line?

Does anyone know how xbmcbuntu/kodibuntu does this, and where I can config it?
Reply

Logout Mark Read Team Forum Stats Members Help
Kodibuntu: how are USB-disks automounted and what determines the permissions?0