![](https://seccdn.libravatar.org/avatar/a81f06a33eed7ce38f6179ec24df79c0.jpg?s=120&d=mm&r=g)
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?? Thanx in advance LM ................................................................................ Luca Mollica Dulbecco Telethon Institute (Biomolecular NMR Lab) DIBIT-HSR,Via Olgettina 58, 1B4 20132 Milano (Italy) Tel: 0039-02-26434824(Office)/26433497(Lab) Fax: 0039-02-26434153 E-mail: mollica.luca@hsr.it There is something to be learned from a rainstorm. When meeting with a sudden shower, you try not to get wet and quickly run along the road. But doing such things as passing under the eaves of houses, you still get wet. When you are resolved from the beginning, you will not be perplexed though you will still get the same soaking. This understanding extends to everything. -Hagakure- ................................................................................
![](https://seccdn.libravatar.org/avatar/5a94d2f8a5845d5f1c1ea1556fc0cb72.jpg?s=120&d=mm&r=g)
Luca Mollica wrote:
The USB 2.0 HD is new and FAT32 formatted,
The problem. FAT32 has no concept of permissions.
<snip> 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.
You would need to format the drive with a file system that actually supports permissions. -- Joe Morris New Tribes Mission Email Address: Joe_Morris@ntm.org Registered Linux user 231871
![](https://seccdn.libravatar.org/avatar/ef3b20e499e909bd7574513744103ce3.jpg?s=120&d=mm&r=g)
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
participants (3)
-
Carl William Spitzer IV
-
Joe Morris (NTM)
-
Luca Mollica