Re: New hard drive mounting rights problems ...

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

 



On Sat, 2004-07-24 at 12:32, Marian POPESCU wrote:
[snip]
> 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?

Marian,

Try changing 'user' to 'users' in your fstab lines for hdf1 and hdf5.
This will allow individual users to mount those filesystems and should
give them ownership of their files & directories rather than root.

--Doc 
Robert G. (Doc) Savage, BSE(EE), CISSP, RHCE | Fairview Heights, IL
Fedora Core 1 kernel 2.4.22-1.2197.nptl on P-III/M IBM Thinkpad A22p
"Perfection is the enemy of good enough."
                         -- Admiral of the Fleet Sergei G. Gorshkov



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

  Powered by Linux