On 2006-02-08,
(E-Mail Removed) <(E-Mail Removed)> wrote:
>
> So, I set up /etc/fstab like this :
>
> xx.xx.xx.xx:/mnt/inst /home/user1/mount nfs noauto,user 1 2
>
> and checked the permission of /bin/mount and its "-rwsr-sr-x"
>
> When user1 tries to mount the partition and give the command
> mount -t nfs xx.xx.xx.xx:/mnt/inst mount , he always get the answer
> "mount: only root can do that"
You should probably not have your user specify -t nfs; he should
do either
mount xx.xx.xx.xx:/mnt/inst
or
mount /home/user1/mount
(note the full path). mount will read fstab and determine the
remaining options. (My guess is you need to specify the exact
same path on your commandline as what's in your fstab to mount
as user--man mount implies, but does not state, this.)
--keith
--
kkeller-(E-Mail Removed)
(try just my userid to email me)
AOLSFAQ=http://wombat.san-francisco.ca.us/cgi-bin/fom
see X- headers for PGP signature information