I have an old laptop IDE hard drive that I hook up via USB to use for music file storage. I want to hotplug this between different computers as and when required, but on the machine it's on most of the time I'd prefer that it be mounted automatically on boot (or even better when plugged in) and available for all users (though with the sticky bit set so other users can't delete the files).
I did a fresh install of openSUSE 12.2 on this machine with the drive attached, so I set its mount point to /home/shared during install. However, after logging in the drive can't be seen by default and I have to mount it manually as root with
Code:
mount /dev/sdb3 /home/shared
whereupon I can access the files with no problem, but it's not useful for guest users of the machine who wouldn't be able to do that. I thought the issue might be due to the owner being shown as root so changed owner to myself with 'users' as group, but after a restart it reverts to root:root. In fstab I see the relevant drive partition listed as follows:
Code:
/dev/disk/by-id/usb-TOSHIBA_MK6025GAS_†††††㈠㔵㑌㌶匰-0:0-part3 /home/shared ext4 user,noauto,acl,user_xattr,nofail 0 0
Is it possible that the non-standard characters in the disk ID may be to blame? All drives/partitions are set as mount 'by-id' by default. But I'm not too knowledgeable on these things so maybe there's a glaring error or what I'm trying to do is simply not possible with an external drive?
No comments:
Post a Comment