Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* server file permissions in thinclient-server software
@ 2001-04-10 16:51 Chuck
  2001-04-12  4:50 ` Mark Garrett
  0 siblings, 1 reply; 2+ messages in thread
From: Chuck @ 2001-04-10 16:51 UTC (permalink / raw)


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-- ).

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'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.

Can anyone help?  My hair is growing thinner and thinner.

TIA

Chuck





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: server file permissions in thinclient-server software
  2001-04-10 16:51 server file permissions in thinclient-server software Chuck
@ 2001-04-12  4:50 ` Mark Garrett
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Garrett @ 2001-04-12  4:50 UTC (permalink / raw)


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
> 
> 
> 



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-04-12  4:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-04-10 16:51 server file permissions in thinclient-server software Chuck
2001-04-12  4:50 ` Mark Garrett

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox