Peter Suetterlin skrev:
Verner Kjærsgaard wrote:
Hi Verner,
So in that case I would
- set up an NFS server that exports, say /export/<user> - set up NFS mounts on the desktop for, e.g., /extern using the */& keys - for each user, make ~/Documents a symbolic link to /extern/<user>
- Hi list and Peter, - thank you for your input!
- eh...but I've got +250 users on that system. Would this not force me to setup +250 exports on the NFS server??
No, if you export /export on the NFS server, you can mount /export/<subdir> from any allowed host. So you need only one export.
And on the client side indeed the wildcard will do the magic, i.e., a user (call him jim) wants to access /home/jim/Documents. This will be a link to /extern/jim, and /extern is handled by auto.nfs which contains the entry * yourserver:/export/&
That line will convert your request (/export/jim) to the proper request (yourserver:/export/jim) and mount it on /extern/jim so that jim can access it via the symlink....
- or do you say that this would/is solved by the magic of the */& keys?
Yes :-)
Pit
Hi Peter and everyone else :-) I can't get my head right...please bear with me and correct me here. This is my auto.master file: /extern /etc/auto.nfs This is my auto.nfs file: * 172.16.11.229:/volume1/EXPORT/& (the export works ok generally, I can mount the stuff manually and so forth) This is my / directory (snip): ... drwxr-xr-x 2 root root 4096 13 apr 15:49 extern/ ... Now I also tried setting up an 'extern' directory with a subdir beneath it named 'vk'. I then tried with symlinks from /home/vk like these: ln -s /extern myfiles and ln -s /extern/vk myfiles It appears that I can 'cd' into 'myfiles', but I cannot do a 'touch xxx.yyy' in the directory. No permissions or so. Q: should the original /extern directory have 755 or 777 rights? Q: should each individual user have his own subdir beneath it, created manually before autofs is started? Q: the symlink created in /home/vk, should this point to /extern or to /extern/vk? Once again...I really do appreciate your inputs! Thanks a lot. PS: I did restart 'rcautofs restart' the autofs after each change in the files. -- ------------------------------ Med venlig hilsen/Best regards Verner Kjærsgaard -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org