From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,9c103dc91edb167b X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-04-11 21:56:03 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!feed2.onemain.com!feed1.onemain.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.stealth.net!intgwpad.nntp.telstra.net!news-server.bigpond.net.au!not-for-mail From: Mark Garrett Newsgroups: comp.unix.tru64 Subject: Re: server file permissions in thinclient-server software Organization: Garetech Computer Solutions Message-ID: References: <5SGA6.22077$Qi6.2541890@typhoon.tampabay.rr.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 In-Reply-To: <5SGA6.22077$Qi6.2541890@typhoon.tampabay.rr.com> Posted-And-Mailed: yes Date: Thu, 12 Apr 2001 04:50:59 GMT NNTP-Posting-Host: 144.132.244.163 X-Complaints-To: news@bigpond.net.au X-Trace: news-server.bigpond.net.au 987051059 144.132.244.163 (Thu, 12 Apr 2001 14:50:59 EST) NNTP-Posting-Date: Thu, 12 Apr 2001 14:50:59 EST Xref: supernews.google.com comp.unix.tru64:2109 in article 5SGA6.22077$Qi6.2541890@typhoon.tampabay.rr.com, Chuck at nospam-chuck@harkness.cc wrote on 11/04/2001 02:51: > I've asked this question before, but decided to take another > crack at it since I'm still unable determine a solution. > Alpha ES40, Compaq Tru64 v5.0 (also have same problem on > Alpha 4100 Compaq Tru64 v4.0F). > > We have applications which are thinclient-server type. > Server converts itself to a daemon when you run it. > User connects to the server using the client on a pc. > Server does user authentication just fine. It does not look > at the user's .profile, but does determine user's home > directory. Everything works great except problem described > below. > > Problem is: > > Files created on the alpha by the user username ( ie: > /usr/users/username/myreport.lis ) have permissions of 077 > ( -rw-------, read-write for user, nothing for group and > other. > > We want the permissions to be 022 ( -rw-r--r-- ). Well for a start your talking about umask not permission's ie umask 022 /usr/bin/umask can be called from a shell to set the current process umask and from then on all children inherit this. So just put umask 022 in you daemon startup script before the server is started > > The application vendors say they don't do anything in the > software to modify the file creation permissions mask, which > seems appropriate to me since that should be up to the os > administrator, but are not able / willing to advise me what > to do from the os standpoint (I'm guessing because Compaq > Tru64 is not their main platform). I wonder about all of these 3rd part developers, they seem to produce UNIX products , but are somehow clue less when it comes to UNIX. They should have given you my answer in a blink of an eye from you asking them this :( > > I'm thinking there _must_ be a way _somewhere_ (possibly in > the SIA config files?) to specify the default file creation > permissions the application server daemon gets, but I can't > find it. People always look for complex solutions, how strange :) > > Can anyone help? My hair is growing thinner and thinner. Well I hope this saves your hair :) > > TIA > > Chuck > > >