Date: Wed, 31 Dec 2008 13:27:40 -0200
Reply-To: Paulo Rodrigo <rodrigo_paulo@YAHOO.COM.BR>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Paulo Rodrigo <rodrigo_paulo@YAHOO.COM.BR>
Subject: Re: how to control library permission if the library is assigned
in autoexec
In-Reply-To: <482249F865060740AE33815802042D2F02C46FB0@LTA3VS012.ees.hhs.gov>
Content-Type: text/plain; charset=ISO-8859-1
Another way would be provide only read-only access to this user on operation
system level, depending on the system there is ACL permission.
--
Att: Paulo R. Herculano
SAS Consultant
+55-11-9226 6618
Skål Thunar!!
On Wed, Dec 31, 2008 at 1:19 PM, Fehd, Ronald J. (CDC/CCHIS/NCPHI) <
rjf2@cdc.gov> wrote:
> > From: z.chrysalis8
> > Subject: how to control library permission if the library is
> > assigned in autoexec
> >
> > I am having problem giving read/ write permission to a library in SMC.
> > I gave read only access to a user for a library. But when the user
> > login using EG, the user is able to read and write to the library. I
> > suspect is because of the library assignment in autoexec file as when
> > the library assignment is removed from autoexec, the permission given
> > is working alright.
> >
> > The problem is the library assignment in autoexec is needed for other
> > SAS programs. It would be troublesome to change this. Is there other
> > workaround to control library permission with library assignment in
> > autoexec?
> >
>
> that may be more trouble that it is worth
>
> you will have to unassign the libref
> and then reassign it with permissions:
>
> libname library clear;
> run;
> libname library '<...>' <permissions>;
>
> and the problem you will have are that the libref library contains
> catalogs
> that options refer to.
>
> iirc it is (next to/nearly)
> impossible to deallocate a libref
> which contains a reference to compiled and stored macro catalogs
> without jumping thru hoops.
>
> Ron Fehd the macro maven CDC Atlanta GA USA RJF2 at cdc dot gov
>
|