Re: NFS root only access -

2019-12-11 Thread Patrick O'Callaghan
On Wed, 2019-12-11 at 12:15 -0500, Bob Goodwin wrote: > On 2019-12-11 11:37, Patrick O'Callaghan wrote: > > In the case of directories, 'x' means 'permission to lookup' > > . > > J guess that is a desirable thing to do? With 'r' permission, you can read the directory, so a basic 'ls' with no opt

Re: NFS root only access -

2019-12-11 Thread Bob Goodwin
On 2019-12-11 11:37, Patrick O'Callaghan wrote: In the case of directories, 'x' means 'permission to lookup' . J guess that is a desirable thing to do? Anyway adding the "x" was what was needed to make some of my files available to the client. -- Bob Goodwin - Zuni, Virginia, Fedora Linux

Re: NFS root only access -

2019-12-11 Thread Patrick O'Callaghan
On Wed, 2019-12-11 at 10:31 -0500, Bob Goodwin wrote: > On 2019-12-11 10:09, Roger Heflin wrote: > > It should also be worth noting that if you want a dir to be readable > > then you must also have x set. So r-x for other would allow that. > > > > If say /home is owned by root/root and other has

Re: NFS root only access -

2019-12-11 Thread Bob Goodwin
On 2019-12-11 10:09, Roger Heflin wrote: It should also be worth noting that if you want a dir to be readable then you must also have x set. So r-x for other would allow that. If say /home is owned by root/root and other has r-- (no x) then no one who is not root or root group will be able to

Re: NFS root only access -

2019-12-11 Thread Bob Goodwin
On 2019-12-11 07:24, George N. White III wrote:  "Saint Peter, I have some question about linux configuration that have been bothering me ..."  to which the reply is "Don't worry, heaven runs on linux these days and there are a bunch of guys here who helped invent UNIX and NFS.' Personally,

Re: NFS root only access -

2019-12-11 Thread Roger Heflin
It should also be worth noting that if you want a dir to be readable then you must also have x set. So r-x for other would allow that. If say /home is owned by root/root and other has r-- (no x) then no one who is not root or root group will be able to see into the directories below home at all e

Re: NFS root only access -

2019-12-11 Thread George N. White III
On Tue, 10 Dec 2019 at 19:40, Bob Goodwin wrote: > > On 2019-12-10 18:11, Ed Greshko wrote: > > So, you need to change the permissions on /media on the client. > > > > The easiest way is to do, on the client, as root. > > > > chown bobg:bobg /media > > . > > Yes, after that change I can navigate

Re: NFS root only access -

2019-12-10 Thread Bob Goodwin
On 2019-12-10 18:11, Ed Greshko wrote: So, you need to change the permissions on /media on the client. The easiest way is to do, on the client, as root. chown bobg:bobg /media . Yes, after that change I can navigate through /media/nfs from bobg. Now I may need to look at some permissions i

Re: NFS root only access -

2019-12-10 Thread Ed Greshko
On 2019-12-11 07:16, Bob Goodwin wrote: > > On 2019-12-10 18:05, Ed Greshko wrote: >> On Workstation-1 >> >> What do the ls command show when run by "root"? > > > [root@Workstation-1 bobg]# ls >  apps  Documents   lshw-output.html  'New database.kdbx' oldpoint   tdnow >  audio Downloads

Re: NFS root only access -

2019-12-10 Thread Bob Goodwin
On 2019-12-10 18:05, Ed Greshko wrote: On Workstation-1 What do the ls command show when run by "root"? [root@Workstation-1 bobg]# ls  apps  Documents   lshw-output.html  'New database.kdbx' oldpoint   tdnow  audio Downloads  '==modw=664'    NewNote-2.ncd oocalc Templat

Re: NFS root only access -

2019-12-10 Thread Ed Greshko
On 2019-12-11 07:08, Bob Goodwin wrote: > > On 2019-12-10 17:20, George N. White III wrote: >> DNS can't be trusted, so some systems >> require the client to be configured in the hosts file. > > . > > I don't recall ever doing that in the past, could it be a requirement now in > Fedora-31? I did n

Re: NFS root only access -

2019-12-10 Thread Ed Greshko
On 2019-12-11 06:49, Bob Goodwin wrote: > [bobg@Workstation-1 ~]$ ll -al /media/nfs/ > ls: cannot access '/media/nfs/': Permission denied > > Still something missing ,,,  Dunno, maybe I should reboot both computers? Ooopss... Sorry, early in my AM and my brain wasn't turned on without coffee. Y

Re: NFS root only access -

2019-12-10 Thread Bob Goodwin
On 2019-12-10 17:20, George N. White III wrote: DNS can't be trusted, so some systems require the client to be configured in the hosts file. . I don't recall ever doing that in the past, could it be a requirement now in Fedora-31? I did not make the hosts.allow file mentioned in the instruc

Re: NFS root only access -

2019-12-10 Thread Ed Greshko
On 2019-12-11 06:49, Bob Goodwin wrote: > [bobg@Workstation-1 ~]$ ll -al /media/nfs/ > ls: cannot access '/media/nfs/': Permission denied > > Still something missing ,,,  Dunno, maybe I should reboot both computers? On Workstation-1 What do the ls command show when run by "root"? -- The ke

Re: NFS root only access -

2019-12-10 Thread Bob Goodwin
On 2019-12-10 15:32, Ed Greshko wrote: Therefore, follow what I said earlier. On the server. chown -R bobg:bobg /nfs4exports Making ownership of the directory. . Before [root@NFS-Server bobg]# ll -al /nfs4exports total 12 drwxr-xr-x. 3 bobg root 4096 Dec 8 16:21 . dr-xr-xr-x. 20 ro

Re: NFS root only access -

2019-12-10 Thread George N. White III
On Tue, 10 Dec 2019 at 15:35, Bob Goodwin wrote: > > On 2019-12-10 11:17, Patrick O'Callaghan wrote: > >> *Dunno where to look?* > > $ grep bobg /etc/passwd > > > > poc > > . > > Client - > > [root@Workstation-1 bobg]# grep bobg /etc/passwd > bobg:x:1000:1000:Bob Goodwin:/home/bobg:/bin/bash > >

Re: NFS root only access -

2019-12-10 Thread Ed Greshko
On 2019-12-11 03:34, Bob Goodwin wrote: > > On 2019-12-10 11:17, Patrick O'Callaghan wrote: >>> *Dunno where to look?* >> $ grep bobg /etc/passwd >> >> poc > > . > > Client - > > [root@Workstation-1 bobg]# grep bobg /etc/passwd > bobg:x:1000:1000:Bob Goodwin:/home/bobg:/bin/bash > > [root@Workstati

Re: NFS root only access -

2019-12-10 Thread Bob Goodwin
On 2019-12-10 11:17, Patrick O'Callaghan wrote: *Dunno where to look?* $ grep bobg /etc/passwd poc . Client - [root@Workstation-1 bobg]# grep bobg /etc/passwd bobg:x:1000:1000:Bob Goodwin:/home/bobg:/bin/bash [root@Workstation-1 bobg]# grep root /etc/passwd root:x:0:0:root:/root:/bin/bash

Re: NFS root only access -

2019-12-10 Thread Patrick O'Callaghan
On Tue, 2019-12-10 at 10:08 -0500, Bob Goodwin wrote: > . > > On 2019-12-10 09:54, Ed Greshko wrote: > > The GID of bobg is 1000 in both cases. > > > > How about the UID? > > . > > *Dunno where to look?* $ grep bobg /etc/passwd poc ___ users mailing

Re: NFS root only access -

2019-12-10 Thread Bob Goodwin
. On 2019-12-10 09:54, Ed Greshko wrote: The GID of bobg is 1000 in both cases. How about the UID? . *Dunno where to look?* -- Bob Goodwin - Zuni, Virginia, Fedora Linux-31 XFCE ___ users mailing list -- users@lists.fedoraproject.org To unsubscrib

Re: NFS root only access -

2019-12-10 Thread Ed Greshko
On 2019-12-10 22:50, Bob Goodwin wrote: > > On 2019-12-10 07:40, Ed Greshko wrote: >> OK >> Then, are your UID/GID the same on all systems?  Just check in your passwd >> file.  For example. > > . > > Consistent but not the same: > > [bobg@NFS-Server ~]$ cat /etc/group > root:x:0: > > bobg:x:10

Re: NFS root only access -

2019-12-10 Thread Bob Goodwin
On 2019-12-10 07:40, Ed Greshko wrote: OK Then, are your UID/GID the same on all systems?  Just check in your passwd file.  For example. . Consistent but not the same: [bobg@NFS-Server ~]$ cat /etc/group root:x:0: bobg:x:1000: [root@Workstation-1 cat /etc/group root:x:0: bobg:x:1000

Re: NFS root only access -

2019-12-10 Thread Ed Greshko
On 2019-12-10 19:34, Bob Goodwin wrote: > > On 2019-12-10 03:42, Ed Greshko wrote: >> First, I understand that you'd like a "user" to be able to read/write to the >> NFS mounted directory on >> a client.  And, secondly, at the moment only root has r/w ability.  Correct? > > . > > Yes and yes. > >>

Re: NFS root omly access -

2019-12-10 Thread Patrick O'Callaghan
On Tue, 2019-12-10 at 16:42 +0800, Ed Greshko wrote: > On 2019-12-10 07:05, Bob Goodwin wrote: > > My NFS server works fine but not as a user other than root and I have not > > been able to change that. I suspect this is not an uncommon problem and > > hope that someone can tell me how to fix it?

Re: NFS root only access -

2019-12-10 Thread Bob Goodwin
On 2019-12-10 03:42, Ed Greshko wrote: First, I understand that you'd like a "user" to be able to read/write to the NFS mounted directory on a client.  And, secondly, at the moment only root has r/w ability.  Correct? . Yes and yes. So, 1.  How many users need to have r/w access to the N

Re: NFS root omly access -

2019-12-10 Thread Ed Greshko
On 2019-12-10 07:05, Bob Goodwin wrote: > My NFS server works fine but not as a user other than root and I have not > been able to change that. I suspect this is not an uncommon problem and hope  > that someone can tell me how to fix it? Well, I suppose it would be a good idea to know a bit more

Re: NFS root omly access -

2019-12-09 Thread Ed Greshko
On 2019-12-10 11:22, Cameron Simpson wrote: > On 10Dec2019 07:55, Ed Greshko wrote: >> On 2019-12-10 07:21, Cameron Simpson wrote: >>> On 09Dec2019 18:05, Bob Goodwin wrote: My NFS server works fine but not as a user other than root and I have not been able to change that. I suspect th

Re: NFS root omly access -

2019-12-09 Thread Cameron Simpson
On 10Dec2019 07:55, Ed Greshko wrote: On 2019-12-10 07:21, Cameron Simpson wrote: On 09Dec2019 18:05, Bob Goodwin wrote: My NFS server works fine but not as a user other than root and I have not been able to change that. I suspect this is not an uncommon problem and hope that someone can te

Re: NFS root omly access -

2019-12-09 Thread Ed Greshko
On 2019-12-10 07:21, Cameron Simpson wrote: > On 09Dec2019 18:05, Bob Goodwin wrote: >> My NFS server works fine but not as a user other than root and I have not >> been able to change that. I suspect this is not an uncommon problem and hope >> that someone can tell me how to fix it? > > Are you

Re: NFS root omly access -

2019-12-09 Thread Cameron Simpson
On 09Dec2019 18:05, Bob Goodwin wrote: My NFS server works fine but not as a user other than root and I have not been able to change that. I suspect this is not an uncommon problem and hope that someone can tell me how to fix it? Are you saying that on a _client_ machine, users who are not ro

NFS root omly access -

2019-12-09 Thread Bob Goodwin
My NFS server works fine but not as a user other than root and I have not been able to change that. I suspect this is not an uncommon problem and hope that someone can tell me how to fix it? -- Bob Goodwin - Zuni, Virginia, Fedora Linux-31 XFCE ___ us

NFS root

2013-02-08 Thread Gordan Bobic
Is there any reason why NFS root might not work in F18? A year or so ago, there was this discussion on a related list: http://lists.fedoraproject.org/pipermail/arm/2011-December/002433.html I'm wondering of NFS root would work with F18. Has anyone tried it? Does the default kernel suppo