Date: Tue, 5 Nov 1996 09:39:21 -0600
Reply-To: "Scot A. Richardson" <scot@CMA-MKTING.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "Scot A. Richardson" <scot@CMA-MKTING.COM>
Organization: Conway/Milliken & Associates
Subject: Re: SAS privileges in UNIX
Jane_P._Doe wrote:
>
> We have a script, owned by user X, that executes a SAS session in batch
> mode. When another user (e.g. user Y) executes the script, it runs with
> the owner privileges (i.e. user X's). However, the SAS session seems
> run with the privileges from user Y. Is it possible for the SAS session
> to have privileges from user X?
>
> Thanks,
> Christine
>
> christine_v._chow@ccmail.bms.com
Hi, Christine,
When you say "privileges," what is it _exactly_ that you mean? As I
read you question, your batch job (owned by user "X") will write out a
.lst or .ssd01 data file that your other users wish to modify but can't
because of too tight permissions (ie. rwxr-wr-- or something funky like
that?) so you want to reset how the files are saved when user "Y" execs
the batch session? Am I close? If this is true, you might want to look
at the "umask" setting for each user. Could be that the users have
different umasks thereby creating a problem w/r/t the file perms. Also,
please send more detail w/r/t the actual behavior as it relates to this
problem.
best,
sar
--
___________________________________________________________
| |
| Scot A. Richardson Project Mgr Statistical Services|
| scot@cma-mkting.com UNIX System Admin |
| Conway/Milliken & Associates |
| I might drive an HP-PA 875 N. Michigan Ave. |
| box at work, but I John Hancock Center Suite 2511 |
| FLY my SPARC at home Chicago, IL 60611 |
/ ) ( \
_( (|__________________________________________________________) )
(((\ \) / ) / ) / ////)
(\\\\ \_/ / \ \_/ ////)
\ / \ /
\ _/ \_ /
|