From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,fb0d8437c2534161,start X-Google-Attributes: gidfee84,public From: marchany@vtserf.cc.vt.edu (Randy Marchany) Subject: Who sets perms on /dev/ttyp* files? Date: 1996/08/05 Message-ID: <4u5fc9$3g3@solaris.cc.vt.edu>#1/1 X-Deja-AN: 172277840 organization: Virginia Tech, Blacksburg, Virginia newsgroups: comp.unix.osf.osf1 We're running Dec Unix 3.2c and have run across a little problem. Our umask is set 7077 and we've noticed that when someone logs in, the perms for their ttyp files are 620. Example: crw--w---- 1 marchany terminal 6, 1 Aug 5 14:22 ttyp1 crw--w---- 1 william terminal 6, 2 Aug 5 14:21 ttyp2 Since we belong to the same group, I can delete his ttyp2 file and log him out and he can do the same to me. So, my question is: who controls the umask setting for these files? My default umasks are 7077 which should give me 0700 perms on the files. What part of the OS set the group perms to write access? This appears to be a default problem with DEC Unix. We've checked a number of DEC boxes here and at other sites and this shows up on all of them. Needless to say, my users have discovered this 'feature'. TIA -Randy Marchany VA Tech Computing Center Blacksburg, VA 24060