On Tue, 2004-10-12 at 05:04, Luca Mollica wrote:
Dear all,
as prevously posted, I have installed an external HD on my machine. The fstab line for the device is
/dev/sdb1 /media/USB_HD auto sync,user,noauto,exec 0 0
The USB 2.0 HD is new and FAT32 formatted, so the original content was only a couple of directories (Recycle Bin and System etc etc.): I have so created new directories named LUCA (my own directory) and GIO (my collegue directory) for making some back up operations with very large files. Of course, mounting the device in the aforementioned way (fstab line), every user is allowed to mount the disk and write data where desidered: but even if I trust my collegue I would prefer restricted access to directories, in order to have the user luca as the owner of LUCA directory and gio as the owner of GIO directory. I have encountered problems trying to change ownership to directories even if using default options in mounting the device.
Do you have any suggestion about fixing this problem??
Permissions are a linux thing. If you need to use the drive between *nix and windows then create two partitions one win32 and one reiserfs. As for permission to access the win32 portion in linux and note the permission in fstab must allow non root access unless thats all you want. /dev/hda8 /windows/g vfat uid=1000,gid=100,umask=002,exec,dev,suid,rw,auto 0 0 and of course permissions in the mount point. ls /windows -lh drwxrwxr-x 6 cwsiv users 16K 1969-12-31 16:00 g drwxrwxr-x 12 cwsiv users 16K 1969-12-31 16:00 h Of course yours will be different because its a usb drive. NOTE subfs is a little too beta for my taste but YMMV. CWSIV