Help using Base SAS procedures

ERROR: User does not have appropriate authorization level for library

Reply
Contributor
Posts: 58

ERROR: User does not have appropriate authorization level for library

Not sure if this is the "correct" forum to put this in but can't figure out which other one to use . . .

I am using the Import Data option under File. Several months ago, i created a library from which to work from. I then used Import Data and when i got to the 3rd screen titled: Choose the SAS destination, would pick the library I created. And whenever i invoked this library, the sas data sets i created would be there.

Well, i'm trying to do this again, except that when i run this, i get the ERROR message displayed in the subject heading. I've googled this error and noticed it seems to pertain to the Read Only attribute which is now marked in the properties of the folder I have my data stored. The problem is that every time i uncheck the Read Only attribute, it doesn't take. I click apply, it changes, but when i reopen the folder, there it is selected still. I have double checked my permissions and have full access. I've even tried to do this from my administrator account (I'm running Vista Ultimate) and nothing doing. This is driving me nuts. Can anyone help?
Super User
Posts: 3,254

Re: ERROR: User does not have appropriate authorization level for library

This is the typical error you get when the Windows security on the folder in question is not set up so you have the right access to it. Check Properties of the folder in Windows Explorer and then look at the Security tab.

You don't mention if this is a server or a local folder or not. If it is a server folder you will need to work with your Windows administrator to get this sorted.
Contributor
Posts: 58

Re: ERROR: User does not have appropriate authorization level for library

First and most important, it is a folder on my own computer.

And as for the Security tab, that's exactly what i'm talking about. When you go to the security tab, one is checking to see that you have full rights to make changes, which i do. In other words, this isn't the problem. I hate MS sometimes. Message was edited by: CharlesR
Respected Advisor
Posts: 4,173

Re: ERROR: User does not have appropriate authorization level for library

Could it be that you're running your code on a different server now?

To write to your local hard drive the Server should be "local".

Running the same code on any other server would result in your job trying to write to the server disk - and it's quite likely that you might not be allowed to do so. Message was edited by: Patrick
Contributor
Posts: 58

Re: ERROR: User does not have appropriate authorization level for library

To repeat, I am not using a server. It is my own computer. I really hate MS.
Contributor
Posts: 58

Re: ERROR: User does not have appropriate authorization level for library

I've also thrown this up on MS's discussion board but was thinking maybe someone here had experienced this and knew of a solution. Message was edited by: CharlesR
Valued Guide
Posts: 634

Re: ERROR: User does not have appropriate authorization level for library

I was unable to duplicate the problem, but a couple of other things to check.
Is there a second SAS session (or a second LIBREF in the current session) that points to that same directory (either with a read only or with a write lock)? When you attempt to make the changes at the OS level, was there an active SAS session with a libref pointing to that directory?

On the OS side, which seems like a less likely culprit, be sure to check security/privliges at higher levels as well.
Contributor
Posts: 58

Re: ERROR: User does not have appropriate authorization level for library

On the OS side I actually went in as the administrator and couldn't change the folder from "not Read Only". The annoying thing? I can save regular docs to it. I'm trying to essentially have a data set create to this folder rather than everything to WORK. I should just give in and use work for expediency, but i'd like to know why this is happening.
Ask a Question
Discussion stats
  • 7 replies
  • 12418 views
  • 0 likes
  • 4 in conversation