From: Mark Garrett <Mark.Garrett@wedontwantyourspam.com.au>
Subject: Re: server file permissions in thinclient-server software
Date: Thu, 12 Apr 2001 04:50:59 GMT [thread overview]
Message-ID: <B6FB712D.16BD0%Mark.Garrett@wedontwantyourspam.com.au> (raw)
In-Reply-To: <5SGA6.22077$Qi6.2541890@typhoon.tampabay.rr.com>
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
>
>
>
prev parent reply other threads:[~2001-04-12 4:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-10 16:51 server file permissions in thinclient-server software Chuck
2001-04-12 4:50 ` Mark Garrett [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox