* NFS exportfs options
[not found] <1353479256.92520.YahooMailNeo@web190605.mail.sg3.yahoo.com>
@ 2012-11-21 7:10 ` Kks Kbase
2012-11-25 4:07 ` Kks Kbase
0 siblings, 1 reply; 9+ messages in thread
From: Kks Kbase @ 2012-11-21 7:10 UTC (permalink / raw)
To: Linux NFS
Hi,
Today I have tried to setup the NFS share.
Here is the exportsfs on NFS server
/home/nfstest1 *(rw)
Then I have mounted the nfs share folder and tried to create folders and files. But I am always getting the error as permission denied either root or normal user.
Any ideas please?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: NFS exportfs options
2012-11-21 7:10 ` NFS exportfs options Kks Kbase
@ 2012-11-25 4:07 ` Kks Kbase
2012-11-25 14:48 ` J. Bruce Fields
0 siblings, 1 reply; 9+ messages in thread
From: Kks Kbase @ 2012-11-25 4:07 UTC (permalink / raw)
To: Linux NFS
Hi,
Here is the mounted option on /var/lib/nfs/etab
# cat /var/lib/nfs/etab
/home/nfstest1 *(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,no_acl,mapping=identity,anonuid=65534,anongid=65534)
----- Original Message -----
From: Kks Kbase <kks.kbase@yahoo.in>
To: Linux NFS <linux-nfs@vger.kernel.org>
Cc:
Sent: Wednesday, 21 November 2012 12:40 PM
Subject: NFS exportfs options
Hi,
Today I have tried to setup the NFS share.
Here is the exportsfs on NFS server
/home/nfstest1 *(rw)
Then I have mounted the nfs share folder and tried to create folders and files. But I am always getting the error as permission denied either root or normal user.
Any ideas please?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: NFS exportfs options
2012-11-25 4:07 ` Kks Kbase
@ 2012-11-25 14:48 ` J. Bruce Fields
2012-11-27 2:18 ` Kks Kbase
0 siblings, 1 reply; 9+ messages in thread
From: J. Bruce Fields @ 2012-11-25 14:48 UTC (permalink / raw)
To: Kks Kbase; +Cc: Linux NFS
On Sun, Nov 25, 2012 at 12:07:13PM +0800, Kks Kbase wrote:
> Hi,
>
> Here is the mounted option on /var/lib/nfs/etab
>
> # cat /var/lib/nfs/etab
> /home/nfstest1 *(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,no_acl,mapping=identity,anonuid=65534,anongid=65534)
>
>
>
>
>
>
> ----- Original Message -----
> From: Kks Kbase <kks.kbase@yahoo.in>
> To: Linux NFS <linux-nfs@vger.kernel.org>
> Cc:
> Sent: Wednesday, 21 November 2012 12:40 PM
> Subject: NFS exportfs options
>
>
>
> Hi,
>
> Today I have tried to setup the NFS share.
>
>
> Here is the exportsfs on NFS server
>
> /home/nfstest1 *(rw)
>
> Then I have mounted the nfs share folder and tried to create folders and files. But I am always getting the error as permission denied either root or normal user.
>
> Any ideas please?
How are you mounting this on the client?
Have you checked permissions on the exported directory? (ls -ld
/home/nfstest1).
--b.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: NFS exportfs options
2012-11-25 14:48 ` J. Bruce Fields
@ 2012-11-27 2:18 ` Kks Kbase
2012-11-27 2:39 ` J. Bruce Fields
0 siblings, 1 reply; 9+ messages in thread
From: Kks Kbase @ 2012-11-27 2:18 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: Linux NFS
Here is the command that I have used to mount.
mount -f nfs 1.2.3.4:/home/nfstest1 /mnt
# ls -al /mnt/
total 28
drwxr-xr-x 2 root root 4096 Nov 22 01:50 .
drwxr-xr-x 25 root root 4096 Nov 23 20:21 ..
-rw-r--r-- 1 root root 0 Nov 22 01:50 1
-rw-r--r-- 1 root root 0 Nov 22 01:50 2
-rw-r--r-- 1 root root 0 Nov 22 01:50 3
# ls -ld /mnt/
drwxr-xr-x 2 root root 4096 Nov 22 01:50 /mnt/
Here is the output in mount command,
1.2.3.4:/home/nfstest1 on /mnt type nfs (rw,addr=1.2.3.4)
----- Original Message -----
From: J. Bruce Fields <bfields@fieldses.org>
To: Kks Kbase <kks.kbase@yahoo.in>
Cc: Linux NFS <linux-nfs@vger.kernel.org>
Sent: Sunday, 25 November 2012 8:18 PM
Subject: Re: NFS exportfs options
On Sun, Nov 25, 2012 at 12:07:13PM +0800, Kks Kbase wrote:
> Hi,
>
> Here is the mounted option on /var/lib/nfs/etab
>
> # cat /var/lib/nfs/etab
> /home/nfstest1 *(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,no_acl,mapping=identity,anonuid=65534,anongid=65534)
>
>
>
>
>
>
> ----- Original Message -----
> From: Kks Kbase <kks.kbase@yahoo.in>
> To: Linux NFS <linux-nfs@vger.kernel.org>
> Cc:
> Sent: Wednesday, 21 November 2012 12:40 PM
> Subject: NFS exportfs options
>
>
>
> Hi,
>
> Today I have tried to setup the NFS share.
>
>
> Here is the exportsfs on NFS server
>
> /home/nfstest1 *(rw)
>
> Then I have mounted the nfs share folder and tried to create folders and files. But I am always getting the error as permission denied either root or normal user.
>
> Any ideas please?
How are you mounting this on the client?
Have you checked permissions on the exported directory? (ls -ld
/home/nfstest1).
--b.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: NFS exportfs options
2012-11-27 2:18 ` Kks Kbase
@ 2012-11-27 2:39 ` J. Bruce Fields
2012-11-27 7:37 ` Kks Kbase
0 siblings, 1 reply; 9+ messages in thread
From: J. Bruce Fields @ 2012-11-27 2:39 UTC (permalink / raw)
To: Kks Kbase; +Cc: Linux NFS
On Tue, Nov 27, 2012 at 10:18:12AM +0800, Kks Kbase wrote:
> Here is the command that I have used to mount.
>
>
> mount -f nfs 1.2.3.4:/home/nfstest1 /mnt
>
>
> # ls -al /mnt/
> total 28
> drwxr-xr-x 2 root root 4096 Nov 22 01:50 .
Only root is permitted to write to this directory. But you have
root_squash turned on (which is the default; see "man export").
--b.
> drwxr-xr-x 25 root root 4096 Nov 23 20:21 ..
> -rw-r--r-- 1 root root 0 Nov 22 01:50 1
> -rw-r--r-- 1 root root 0 Nov 22 01:50 2
> -rw-r--r-- 1 root root 0 Nov 22 01:50 3
> # ls -ld /mnt/
> drwxr-xr-x 2 root root 4096 Nov 22 01:50 /mnt/
>
>
>
> Here is the output in mount command,
>
> 1.2.3.4:/home/nfstest1 on /mnt type nfs (rw,addr=1.2.3.4)
>
>
>
>
> ----- Original Message -----
> From: J. Bruce Fields <bfields@fieldses.org>
> To: Kks Kbase <kks.kbase@yahoo.in>
> Cc: Linux NFS <linux-nfs@vger.kernel.org>
> Sent: Sunday, 25 November 2012 8:18 PM
> Subject: Re: NFS exportfs options
>
> On Sun, Nov 25, 2012 at 12:07:13PM +0800, Kks Kbase wrote:
> > Hi,
> >
> > Here is the mounted option on /var/lib/nfs/etab
> >
> > # cat /var/lib/nfs/etab
> > /home/nfstest1 *(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,no_acl,mapping=identity,anonuid=65534,anongid=65534)
> >
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: Kks Kbase <kks.kbase@yahoo.in>
> > To: Linux NFS <linux-nfs@vger.kernel.org>
> > Cc:
> > Sent: Wednesday, 21 November 2012 12:40 PM
> > Subject: NFS exportfs options
> >
> >
> >
> > Hi,
> >
> > Today I have tried to setup the NFS share.
> >
> >
> > Here is the exportsfs on NFS server
> >
> > /home/nfstest1 *(rw)
> >
> > Then I have mounted the nfs share folder and tried to create folders and files. But I am always getting the error as permission denied either root or normal user.
> >
> > Any ideas please?
>
> How are you mounting this on the client?
>
> Have you checked permissions on the exported directory? (ls -ld
> /home/nfstest1).
>
> --b.
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: NFS exportfs options
2012-11-27 2:39 ` J. Bruce Fields
@ 2012-11-27 7:37 ` Kks Kbase
2012-11-27 14:24 ` J. Bruce Fields
0 siblings, 1 reply; 9+ messages in thread
From: Kks Kbase @ 2012-11-27 7:37 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: Linux NFS
I have tried to all_squash but no luck. Even I have tried to access it as root itself which have the same issue,
----- Original Message -----
From: J. Bruce Fields <bfields@fieldses.org>
To: Kks Kbase <kks.kbase@yahoo.in>
Cc: Linux NFS <linux-nfs@vger.kernel.org>
Sent: Tuesday, 27 November 2012 8:09 AM
Subject: Re: NFS exportfs options
On Tue, Nov 27, 2012 at 10:18:12AM +0800, Kks Kbase wrote:
> Here is the command that I have used to mount.
>
>
> mount -f nfs 1.2.3.4:/home/nfstest1 /mnt
>
>
> # ls -al /mnt/
> total 28
> drwxr-xr-x 2 root root 4096 Nov 22 01:50 .
Only root is permitted to write to this directory. But you have
root_squash turned on (which is the default; see "man export").
--b.
> drwxr-xr-x 25 root root 4096 Nov 23 20:21 ..
> -rw-r--r-- 1 root root 0 Nov 22 01:50 1
> -rw-r--r-- 1 root root 0 Nov 22 01:50 2
> -rw-r--r-- 1 root root 0 Nov 22 01:50 3
> # ls -ld /mnt/
> drwxr-xr-x 2 root root 4096 Nov 22 01:50 /mnt/
>
>
>
> Here is the output in mount command,
>
> 1.2.3.4:/home/nfstest1 on /mnt type nfs (rw,addr=1.2.3.4)
>
>
>
>
> ----- Original Message -----
> From: J. Bruce Fields <bfields@fieldses.org>
> To: Kks Kbase <kks.kbase@yahoo.in>
> Cc: Linux NFS <linux-nfs@vger.kernel.org>
> Sent: Sunday, 25 November 2012 8:18 PM
> Subject: Re: NFS exportfs options
>
> On Sun, Nov 25, 2012 at 12:07:13PM +0800, Kks Kbase wrote:
> > Hi,
> >
> > Here is the mounted option on /var/lib/nfs/etab
> >
> > # cat /var/lib/nfs/etab
> > /home/nfstest1 *(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,no_acl,mapping=identity,anonuid=65534,anongid=65534)
> >
> >
> >
> >
> >
> >
> > ----- Original Message -----
> > From: Kks Kbase <kks.kbase@yahoo.in>
> > To: Linux NFS <linux-nfs@vger.kernel.org>
> > Cc:
> > Sent: Wednesday, 21 November 2012 12:40 PM
> > Subject: NFS exportfs options
> >
> >
> >
> > Hi,
> >
> > Today I have tried to setup the NFS share.
> >
> >
> > Here is the exportsfs on NFS server
> >
> > /home/nfstest1 *(rw)
> >
> > Then I have mounted the nfs share folder and tried to create folders and files. But I am always getting the error as permission denied either root or normal user.
> >
> > Any ideas please?
>
> How are you mounting this on the client?
>
> Have you checked permissions on the exported directory? (ls -ld
> /home/nfstest1).
>
> --b.
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: NFS exportfs options
2012-11-27 7:37 ` Kks Kbase
@ 2012-11-27 14:24 ` J. Bruce Fields
2012-11-28 5:02 ` Kks Kbase
0 siblings, 1 reply; 9+ messages in thread
From: J. Bruce Fields @ 2012-11-27 14:24 UTC (permalink / raw)
To: Kks Kbase; +Cc: Linux NFS
On Tue, Nov 27, 2012 at 03:37:32PM +0800, Kks Kbase wrote:
> I have tried to all_squash but no luck. Even I have tried to access it as root itself which have the same issue,
all_squash won't help, you need to use no_root_squash or write
permissions to other than root. Please read the relevant parts of the
export man page carefully.
--b.
>
>
>
> ----- Original Message -----
> From: J. Bruce Fields <bfields@fieldses.org>
> To: Kks Kbase <kks.kbase@yahoo.in>
> Cc: Linux NFS <linux-nfs@vger.kernel.org>
> Sent: Tuesday, 27 November 2012 8:09 AM
> Subject: Re: NFS exportfs options
>
> On Tue, Nov 27, 2012 at 10:18:12AM +0800, Kks Kbase wrote:
> > Here is the command that I have used to mount.
> >
> >
> > mount -f nfs 1.2.3.4:/home/nfstest1 /mnt
> >
> >
> > # ls -al /mnt/
> > total 28
> > drwxr-xr-x 2 root root 4096 Nov 22 01:50 .
>
> Only root is permitted to write to this directory. But you have
> root_squash turned on (which is the default; see "man export").
>
> --b.
>
> > drwxr-xr-x 25 root root 4096 Nov 23 20:21 ..
> > -rw-r--r-- 1 root root 0 Nov 22 01:50 1
> > -rw-r--r-- 1 root root 0 Nov 22 01:50 2
> > -rw-r--r-- 1 root root 0 Nov 22 01:50 3
> > # ls -ld /mnt/
> > drwxr-xr-x 2 root root 4096 Nov 22 01:50 /mnt/
> >
> >
> >
> > Here is the output in mount command,
> >
> > 1.2.3.4:/home/nfstest1 on /mnt type nfs (rw,addr=1.2.3.4)
> >
> >
> >
> >
> > ----- Original Message -----
> > From: J. Bruce Fields <bfields@fieldses.org>
> > To: Kks Kbase <kks.kbase@yahoo.in>
> > Cc: Linux NFS <linux-nfs@vger.kernel.org>
> > Sent: Sunday, 25 November 2012 8:18 PM
> > Subject: Re: NFS exportfs options
> >
> > On Sun, Nov 25, 2012 at 12:07:13PM +0800, Kks Kbase wrote:
> > > Hi,
> > >
> > > Here is the mounted option on /var/lib/nfs/etab
> > >
> > > # cat /var/lib/nfs/etab
> > > /home/nfstest1 *(rw,sync,wdelay,hide,nocrossmnt,secure,root_squash,no_all_squash,no_subtree_check,secure_locks,no_acl,mapping=identity,anonuid=65534,anongid=65534)
> > >
> > >
> > >
> > >
> > >
> > >
> > > ----- Original Message -----
> > > From: Kks Kbase <kks.kbase@yahoo.in>
> > > To: Linux NFS <linux-nfs@vger.kernel.org>
> > > Cc:
> > > Sent: Wednesday, 21 November 2012 12:40 PM
> > > Subject: NFS exportfs options
> > >
> > >
> > >
> > > Hi,
> > >
> > > Today I have tried to setup the NFS share.
> > >
> > >
> > > Here is the exportsfs on NFS server
> > >
> > > /home/nfstest1 *(rw)
> > >
> > > Then I have mounted the nfs share folder and tried to create folders and files. But I am always getting the error as permission denied either root or normal user.
> > >
> > > Any ideas please?
> >
> > How are you mounting this on the client?
> >
> > Have you checked permissions on the exported directory? (ls -ld
> > /home/nfstest1).
> >
> > --b.
> >
>
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: NFS exportfs options
2012-11-27 14:24 ` J. Bruce Fields
@ 2012-11-28 5:02 ` Kks Kbase
2012-11-29 14:07 ` J. Bruce Fields
0 siblings, 1 reply; 9+ messages in thread
From: Kks Kbase @ 2012-11-28 5:02 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: Linux NFS
Sorry I am unable to get the exact information from the man page.
If I use no_root_squash then root only can do anything but other users still can't.
Can you let me know how can I give write permission to other users?
----- Original Message -----
From: J. Bruce Fields <bfields@fieldses.org>
To: Kks Kbase <kks.kbase@yahoo.in>
Cc: Linux NFS <linux-nfs@vger.kernel.org>
Sent: Tuesday, 27 November 2012 7:54 PM
Subject: Re: NFS exportfs options
On Tue, Nov 27, 2012 at 03:37:32PM +0800, Kks Kbase wrote:
> I have tried to all_squash but no luck. Even I have tried to access it as root itself which have the same issue,
all_squash won't help, you need to use no_root_squash or write
permissions to other than root. Please read the relevant parts of the
export man page carefully.
--b.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: NFS exportfs options
2012-11-28 5:02 ` Kks Kbase
@ 2012-11-29 14:07 ` J. Bruce Fields
0 siblings, 0 replies; 9+ messages in thread
From: J. Bruce Fields @ 2012-11-29 14:07 UTC (permalink / raw)
To: Kks Kbase; +Cc: Linux NFS
On Wed, Nov 28, 2012 at 01:02:36PM +0800, Kks Kbase wrote:
> Sorry I am unable to get the exact information from the man page.
>
> If I use no_root_squash then root only can do anything but other users still can't.
>
> Can you let me know how can I give write permission to other users?
See "man chmod", or "info file permissions"; or
http://www.tuxfiles.org/linuxhelp/filepermissions.html
looks like one possible good starting point (just the first google hit
for "linux permissions").
This isn't really an nfs question.
--b.
>
>
>
> ----- Original Message -----
> From: J. Bruce Fields <bfields@fieldses.org>
> To: Kks Kbase <kks.kbase@yahoo.in>
> Cc: Linux NFS <linux-nfs@vger.kernel.org>
> Sent: Tuesday, 27 November 2012 7:54 PM
> Subject: Re: NFS exportfs options
>
> On Tue, Nov 27, 2012 at 03:37:32PM +0800, Kks Kbase wrote:
> > I have tried to all_squash but no luck. Even I have tried to access it as root itself which have the same issue,
>
> all_squash won't help, you need to use no_root_squash or write
> permissions to other than root. Please read the relevant parts of the
> export man page carefully.
>
> --b.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2012-11-29 14:07 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1353479256.92520.YahooMailNeo@web190605.mail.sg3.yahoo.com>
2012-11-21 7:10 ` NFS exportfs options Kks Kbase
2012-11-25 4:07 ` Kks Kbase
2012-11-25 14:48 ` J. Bruce Fields
2012-11-27 2:18 ` Kks Kbase
2012-11-27 2:39 ` J. Bruce Fields
2012-11-27 7:37 ` Kks Kbase
2012-11-27 14:24 ` J. Bruce Fields
2012-11-28 5:02 ` Kks Kbase
2012-11-29 14:07 ` J. Bruce Fields
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).