Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

2 Answers

fixed using

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

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.