filesystem - How to mount HFS+ drive and ignore permissions - Ask Ubuntu
i installed ubuntu , windows on macbook , ubuntu primary os; however, of media stays on osx partition. want able access (at least osx user's home folder) ubuntu without having launch media player (or else) root. also, because want fire machine in osx, don't want change need change (i read lot changing uid--i don't understand entails, wouldn't want have change uid , forth depending on os i'm using. similarly, don't want change file system permissions , forth).
also, saw "noowner" option, doesn't seem want to.
so guess i'd able this:
sudo mount -t hfsplus -o noowner /dev/sda2/ /media/mac
and able access of media (at least in osx user's home folder) without dropping in root. (for clarity: above command line entry doesn't want do, want able similar).
or better change uid? , if so, how?
bindfs
answer. take mounted file system , provide view of whichever uid you'd like:
sudo apt-get install bindfs mkdir ~/myuiddiskfoo sudo bindfs -u $(id -u) -g $(id -g) /media/diskfoo ~/myuiddiskfoo
Comments
Post a Comment