Bugtraq mailing list archives
Re: Various Solaris 2.3 file permission problems
From: rjd4 () ucs cam ac uk (Bob Dowling)
Date: Thu, 19 Jan 1995 12:12:26 +0000
I believe Solaris 2.4 is going to fix the permissions on all files that are *installed* by the installation system. I suspect that most, if not all, of the files *created* by the newly installed system that had the wrong permissions will still have bad permissions. By "created" as opposed to "installed", I mean things like log files, spool files etc. The reason for this is that Sun gets its umask wrong on a default system, including the system started up off the CD or whatever to run suninstall. A good symptom of this error is the umask of inetd and hence of in.ftpd. As is well known, in a default Solaris 2 installation, files transferred in (so the ftpd is local) arrive with mode 0666. We are currently running a Solaris 2.3 system with an added file /etc/init.d/umask.sh that has a single non-comment line: "umask 0022". There is also a link in /etc/rc2.d/S00umask.sh. This fixes the umask of everything that doesn't explicitly change it back again. It has caused us no problems that we've noticed. -------- Bob Dowling: UNIX Support, University of Cambridge Computing Service, rjd4 () cam ac uk New Museums Site, Pembroke Street, +44 1223 334728 Cambridge, UK. CB2 3QG. -------- 0666: The Mode of The Beast
Current thread:
- Various Solaris 2.3 file permission problems Frank Stuart (Jan 03)
- Re: Various Solaris 2.3 file permission problems jsz (Jan 04)
- Re: Various Solaris 2.3 file permission problems Darren Reed (Jan 06)
- /etc/mnttab and Solaris 2.4 Philippe Langlois (Jan 06)
- Re: /etc/mnttab and Solaris 2.4 Davide Gaetano (Jan 07)
- Re: /etc/mnttab and Solaris 2.4 Luke Mewburn (Jan 08)
- Re: Various Solaris 2.3 file permission problems jsz (Jan 04)
- <Possible follow-ups>
- Re: Various Solaris 2.3 file permission problems Calum Mackay (Jan 04)
- Re: Various Solaris 2.3 file permission problems Dave Mitchell (Jan 04)
- Re: Various Solaris 2.3 file permission problems jim () Tadpole COM (Jan 04)
- Re: Various Solaris 2.3 file permission problems Bob Dowling (Jan 19)
- Re: Various Solaris 2.3 file permission problems Paul Robinson (Jan 05)
- Re: Various Solaris 2.3 file permission problems der Mouse (Jan 05)
- Re: Various Solaris 2.3 file permission problems jsz (Jan 06)
- Re: Re: Various Solaris 2.3 file permission problems Pete Hartman (Jan 05)