[3134] in Athena Bugs
(VS2) Version 6.3B: attach
daemon@ATHENA.MIT.EDU (John T Kohl)
Fri Sep 8 14:18:25 1989
Date: Fri, 8 Sep 89 14:18:02 -0400
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
System type, version: (VS2) Version 6.3B
System name: lycus
What's wrong:
When attach creates multiple directories to make a mount point, the
extra intervening directories are created mode 777:
[{1}lycus:/priam]
% attach -m /foo/bar/baz/quux -e priam:/tmp
priam:/tmp: NFS mounted PRIAM.MIT.EDU:/tmp on /foo/bar/baz/quux (read-write)
ls -lR /foo
[{1}lycus:/priam]
% ls -lR /foo
total 1
drwxrwxrwx 3 root 512 Sep 8 14:16 bar
/foo/bar:
total 1
drwxrwxrwx 3 root 512 Sep 8 14:16 baz
/foo/bar/baz:
total 1
drwxrwxrwt 2 root 1024 Sep 8 14:10 quux
/foo/bar/baz/quux:
total 47
-rwxr-xr-x 1 2931 47104 Sep 7 13:59 machtype
-rwx------ 1 11573 236 Sep 8 14:08 tkt_ttyp1
[{1}lycus:/priam]
%
What should have happened:
attach shoudn't make the extra directories world- or group-writable.