Permissions of automounted directories

From: Adam Lupu-Sax <lupu-sax_at_typhoon.harvard.edu>
Date: Tue, 03 Feb 1998 11:35:55 -0500

        Hello. I am running automount under DU4.0B on 4 3000/600
machines and one 500/500. The automount maps are being served by NIS
and the auto.master map is

# auto.master
/home auto.home -rw,bg
/net -hosts -rw,bg,nodev,nosuid

and auto.home is

# auto.home
user1 -intr foo:/disks/disk2/&
user2 -intr foo:/disks/disk1/&
user3 -intr foo:/disks/disk1/&


        Automount is started with only the "-v" flag and uses its
default mount point "/tmp_mnt"

        The problem is that some directories are created with
permissions 500 instead of 555. For instance if I try to automount
the archive at digital with a "cd /net/ftp.digital.com/archive" as a
user, I get a "permission denied" error. I can fix it by changing the
permissions on the ftp.digital.com directory but that's not really a
solution.

        All I've been able to figure out is that automount seems
sensitive to the permissions of the directory it's mounting under but
I haven't been able to get this to work.

        How does automount decide what permissions to use when
creating mount points? Where is the appropriate place to set this so
it works for the /sbin/init.d/nfsmount startup script?

        Thanks for your help.



                                                -Adam
____________________________________________________________
Adam Lupu-Sax <lupu-sax_at_typhoon.harvard.edu>
http://monsoon.harvard.edu/~lupu-sax
PGP public key: http://monsoon.harvard.edu/~lupu-sax/key.asc
Received on Tue Feb 03 1998 - 18:02:51 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT