LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Tue, 15 Apr 2008 10:42:54 -0400
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: Allocating SASHELP as readonly under Windows
In-Reply-To:  <1b37f1ba-dfa5-4deb-89e5-bdbaf96fa3bf@a70g2000hsh.googlegroups.com>
Content-Type: text/plain; charset=us-ascii

> From: Peter > On Apr 15, 7:00 am, sas_l_...@YAHOO.COM.AU (Scott Bass) wrote: > > Hi, > > > > Is there a way to ensure SASHELP is readonly under Windows? > Without the > > gory details, I'd prefer to do this in SAS rather than NTFS > permissions. > > > > I see the configuration option: > > > > /* Setup the SAS System help directory definition */ > > -SASHELP ( > > "!SASCFG\SASCFG" > > "!sasroot\core\sashelp" > > "!sasext0\inttech\sashelp" > > "!sasext0\mddbserv\sashelp" > > "!sasext0\access\sashelp" > > "!sasext0\af\sashelp" > > "!sasext0\connect\sashelp" > > "!sasext0\graph\sashelp" > > ) > > > > but no way (that I can see) to make this readonly. I have > EG users saving > > datasets to SASHELP, which I want to prevent. > > > > Thanks, > > Scott > > writing to SASHELP will write only into the first of the > concatenation.

> Pointing that at a non-existing folder for a test would be > interesting;-)

good points, Peter!

Open your !SASroot\nls\en\SASv9.cfg and find this

/* Setup the MYSASFILES system variable */ -SET MYSASFILES "C:\My SAS Files\9.1\"

Note that MySASfiles is an Environment Variable

Ah, so! :-O

We have ways of dealing w/problem users!

Put on your Devious SAS SysAdmin hat and add this line to SASv9.cfg

-SASHELP ("!MySASfiles" "!SASCFG\SASCFG" ... )

Presto! Chango! DATA SAShelp.MyReallyFavoriteDataThatIjustHaveToSave_Somewhere;

written to MySASfiles!

Ron Fehd the SASv9.cfg or macro maven CDC Atlanta GA USA RJF2 at cdc dot gov


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