Morning, Does anyone know if I can do anything about my mini usbdrive and permissions? Because I have to mount it vfat, any linux files I copy to and from end up with ownership and permissions completely screwed. It's an Iomega somethingorother and I mount it thusly: mount /dev/sda1 /mnt/usbdrive -t vfat
Thanks Jenny
______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
Jenny Hopkins wrote:
Morning, Does anyone know if I can do anything about my mini usbdrive and permissions? Because I have to mount it vfat, any linux files I copy to and from end up with ownership and permissions completely screwed. It's an Iomega somethingorother and I mount it thusly: mount /dev/sda1 /mnt/usbdrive -t vfat
You could mount it as umsdos rather than vfat. From the kernel documentation:
"Umsdos is not a file system per se, but a twist to make a boring one into a useful one.
It gives you:
long file names Permissions and owners Links Special files (devices, pipes...) All that is needed to be a linux root fs."
The first time you mount the usb device you'll have to run umssync /mnt/usbdrive to create the magic --linux-.--- files which actually store the owner/group and permission stuff but after that if you mount the drive as umsdos then everything should just look unixy from then on.
JD