Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I used the following command to see who had permission to my directory.

fs la

I then wanted to block someone out, so I used the command (and accidentally used my username instead of the person I wanted to block out.

fs sa . <myusername> none

AND NOW I AM BLOCKED out of my directory. It says

files1: Permission denied.

How do I reset my permissions, so I can re-access my directory?

share|improve this question

migrated from stackoverflow.com Jan 30 '13 at 18:25

This question came from our site for professional and enthusiast programmers.

1  
Did you try giving yourself back permissions? E.g., fs sa . <username> all? – jjlin Jan 30 '13 at 18:48

fixed using

fs sa <directoryname> <username> all
share|improve this answer

I have never used AFS, but normally you would need a root user to change the permissions back.

share|improve this answer
    
Normal Unix permissions model is that the user can change permissions on owned objects at will. – vonbrand Feb 3 '13 at 4:18

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .