I have two linux systems running 9.1 and 9.2 and one iMac. I have NFS Servers running on all three. The settings for NFS were done in Yast on the linux side and NetInfo on the Mac side. On the iMac side the only difference in the two system entries is the IP addresses in NFS Manager and NetInfo listings. On the linux side the entries in /etc/export,/etc/hosts.deny are the same. I can ping everyone from one side or the other. I can mount and write to the iMac NFS share on both linux systems. But no matter what I cannot connect to the Suse 9.1 system share on the iMac. There is one message from the console.log: 2004-12-01 15:49:25.213 NFS Manager [2517] NFSConnection: Could not recognize option 'rw', ignoring... The 9.1 server share is in the iMac server list but when I open it instead of seeing my data I see an empty folder with no name. When I delete the empty folder it's recreated again. I can't write to the 9.1 share from my 9.2 system even though the 9.1 share has a rw option set. I cannot write to the 9.2 share from the iMac either. The error message is: 'The operation cannot be completed because you do not have sufficient privileges for some of the items.' I have yet another machine loaded with Suse 9.2 and my UID on this machine and the Suse 9.1 server share are the same, 1000. From this machine I can write to the 9.1 share normally. So I can see this is probably a UID and/or permission problem but I don't see what to do next. Do you? Thanks, Jerome
On Wednesday 01 December 2004 5:07 pm, Susemail wrote:
So I can see this is probably a UID and/or permission problem but I don't see what to do next. Do you?
Differient users need to belong to the same group and the group needs rw permission. Rich
Thanks, Jerome
-- Rich Matson Reno, Nv. USA
On Wednesday 01 December 2004 23:53, C. Richard Matson wrote:
On Wednesday 01 December 2004 5:07 pm, Susemail wrote:
So I can see this is probably a UID and/or permission problem but I don't see what to do next. Do you?
Differient users need to belong to the same group and the group needs rw permission. Rich
Thanks, Jerome
-- Rich Matson Reno, Nv. USA
Hi Rich, Here is my /etc/exports file: /home/adriel/ 192.168.0.*(rw,root_squash,sync) Which says that anyone on the local network can access my home directory? To see if it would help. I added my user name on the iMac to my linux user list using Yast. I also added my linux user name to my iMac user list. I went to 'Properties>Share>Configure File Sharing>Allowed Users and chose 'Only users of a certain group are allowed to share folders'. I pick the 'uses' group. I also choose 'Allow all users to share folders' but when I close all the windows and open them again Allowed users is always set to 'Only users of a certain group are allowed to share folders'. None of this is making any difference. The iMac system.log says it can't mount the directory because 'permission is denied'. I can read and write this NFS share on my other linux systems. Permission is denied only to the iMac. So what other sourcs are there for the 'permission denied' response? Thanks, Jerome
On Thursday 02 December 2004 22:40, Susemail wrote:
Here is my /etc/exports file: /home/adriel/ 192.168.0.*(rw,root_squash,sync) Which says that anyone on the local network can access my home directory?
I've had problems on SuSE 9.1 and 9.2 with using IP ranges in the /etc/exports. It lists is as exported, but gives permission denied when trying to mount. /d1/test 192.168.0.*(ro,async) Now, if you use name based variable expansion...it seems to work. /d1/test *.brianjacksonphoto.com(ro,async) Is there some special flag with 2.6 kernel based NFS servers that allows you to use an IP range? It doesn't seem to be set by default. brian -- Brian Jackson Photo Sports ~ Editorial ~ People ~ Travel ~ Events http://www.BrianJacksonPhoto.com
Brian Jackson wrote:
On Thursday 02 December 2004 22:40, Susemail wrote:
Here is my /etc/exports file: /home/adriel/ 192.168.0.*(rw,root_squash,sync) Which says that anyone on the local network can access my home directory?
I've had problems on SuSE 9.1 and 9.2 with using IP ranges in the /etc/exports. It lists is as exported, but gives permission denied when trying to mount.
/d1/test 192.168.0.*(ro,async)
Now, if you use name based variable expansion...it seems to work.
/d1/test *.brianjacksonphoto.com(ro,async)
From the exports(5) manpage: "IP networks You can also export directories to all hosts on an IP (sub-) network simultaneously. This is done by specifying an IP address and netmask pair as address/netmask where the netmask can be specified in dotted-decimal format, or as a contiguous mask length (for example, either `/255.255.252.0' or `/22' appended to the network base address result in identical subnetworks with 10 bits of host). Wildcard characters generally do not work on IP addresses, though they may work by accident when reverse DNS lookups fail." Note the last sentence :) Cheers, Dave
participants (4)
-
Brian Jackson
-
C. Richard Matson
-
Dave Howorth
-
Susemail