# cd output
bash: cd: output: Permission denied
# id
uid=0(root) gid=0(root)
Can anyone tell me why my directory permissions are changing and how to
make them persistant with automountd?
Solution
==================================================
If the execute permission is set, it becomes an executable map which is
a shell script that outputs the required automount commands, but can
include extra logic to determine which mounts should be made. From
automount(1M):
Local maps that have the execute bit set in their file per-
missions will be executed by the automounter and provided
with a key to be looked up as an argument. The executable
map is expected to return the content of an automounter map
entry on its stdout or no output if the entry cannot be
determined. A direct map cannot be made executable.
Simply chmod'd my /etc/auto_direct from 755 to 644 and the problem was
resolved.