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