New hard drive mounting rights problems ...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Does anyone knows how to solve this?

I have this configuration:

Disk /dev/hda
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1   *           1           7       56196    6  FAT16
/dev/hda2               8        4462    35784787+   5  Extended
/dev/hda5               8         402     3172806    7  HPFS/NTFS
/dev/hda6             403         803     3221001    7  HPFS/NTFS
/dev/hda7             804         815       96358+  83  Linux
/dev/hda8             816         955     1124518+  83  Linux
/dev/hda9             956        1897     7566583+  83  Linux
/dev/hda10           1898        2274     3028221   83  Linux
/dev/hda11           2275        2457     1469916   83  Linux
/dev/hda12           2458        2591     1076323+  83  Linux
/dev/hda13           2592        3861    10201243+  83  Linux
/dev/hda14           3862        3927      530113+  82  Linux swap
/dev/hda15           3928        4462     4297356    7  HPFS/NTFS

Disk /dev/hde
   Device Boot      Start         End      Blocks   Id  System
/dev/hde1   *           1        1070     8594743+   c  W95 FAT32 (LBA)
/dev/hde2            1071        2434    10956330    5  Extended
/dev/hde5            1071        2434    10956298+   7  HPFS/NTFS

Disk /dev/hdf
   Device Boot      Start         End      Blocks   Id  System
/dev/hdf1   *           1        1306    10490413+  83  Linux
/dev/hdf2            1307        2434     9060660    5  Extended
/dev/hdf5            1307        2434     9060628+  83  Linux


$ls -l /mnt/
drwxr-xr-x   2 root   root        4096 Jul 18 03:10 cdrom
drwxr-xr-x   2 root   root        4096 Jul 18 03:10 cdrom1
drwxr-xr-x   2 root   root        4096 Jul 18 03:10 floppy
drwxrwxrwx   2 root   root        4096 Jul 24 17:31 lin1
drwxrwxrwx   2 root   root        4096 Jul 24 17:31 lin2


Now, I want to mount hdf1 and hdf5 onto /mnt/lin1 and /mnt/lin2 so that an
ordinary user can modify (create, change, delete) the contents of the two
partitions.

My fstab looks like
[...]
/dev/hdf1       /mnt/lin1       ext3    defaults,rw,exec,suid,user      0 0
/dev/hdf5       /mnt/lin2       ext3    defaults,rw,exec,suid,user      0 0
[...]

When I do 
$mount /mnt/lin1
$ls -l /mnt/
drwxr-xr-x   2 root   root        4096 Jul 18 03:10 cdrom
drwxr-xr-x   2 root   root        4096 Jul 18 03:10 cdrom1
drwxr-xr-x   2 root   root        4096 Jul 18 03:10 floppy
drwxr-xr-x   4 root   root        4096 Jul 24 18:37 lin1
drwxrwxrwx   2 root   root        4096 Jul 24 17:31 lin2

Which means that, as ordinary user, I cannot create, change or delete files
on /mnt/lin1.

What should I change in fstab to get these rights?

Thank you for your time,
Marian



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux