LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2008, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 31 Dec 2008 10:19:02 -0500
Reply-To:     "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Fehd, Ronald J. (CDC/CCHIS/NCPHI)" <rjf2@CDC.GOV>
Subject:      Re: how to control library permission if the library is assigned
              in autoexec
In-Reply-To:  <5717a257-f122-40ce-bda8-ff40af0c7d3d@z6g2000pre.googlegroups.com>
Content-Type: text/plain; charset=us-ascii

> 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


Back to: Top of message | Previous page | Main SAS-L page