mounting NFS directory with read write access

Ranjan Maitra maitra.mbox.ignored at inbox.com
Wed Feb 27 16:48:05 UTC 2013


On Wed, 27 Feb 2013 16:10:18 +0000 "Michael E. Maher"
<michael at maheronline.co.uk> wrote:

> Hello,
> 
> On Wed, 2013-02-27 at 09:57 -0600, Ranjan Maitra wrote:
> > Hello,
> > 
> > I have tried mounting the following remote directory:
> > 
> > sudo mount machine.name:/home/directory -w /mnt/directory
> > 
> 
> The `-w' switch should be unnecessary as it is the default. Can you
> share the output of `mount' run with no arguments?

$sudo mount machine.name:/home/directory /mnt/directory

comes back with a prompt: no messages in /var/log/messages either, or
in dmesg.


> > I can mount fine, but I can not write as a mortal user in this
> > directory.
> 
> I'm guessing it is a permissions problem. Can you run `id' as the mortal
> user and mount the NFS share then share the output of:
>      ls -l /mnt/directory
>      ls -ld /mnt/directory
> 

$ id
uid=1000(maitra) gid=1000(maitra) groups=1000(maitra),10(wheel),18
(dialout) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023

$ ls -l /mnt/directory
total 4K
drwxrwx--x. 3 nobody nobody 4.0K Feb 14 19:30 alamo/

$ls -ld /mnt/directory

drwxrwxr-x. 16 nobody nobody 4.0K Feb 22 08:47 /mnt/directory


> Other than that are there any messages in `dmesg' or in the messages
> file (/var/log/messages)?

No, none at all. This makes it really puzzling.

Many thanks,
Ranjan
> 
> 
> Thanks,
> Michael
> 
> -- 
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
-- 
Important Notice: This mailbox is ignored: e-mails are set to be
deleted on receipt. For those needing to send personal or professional
e-mail, please use appropriate addresses.

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium




More information about the users mailing list