 |
 |
Locked myself out of my Documents directory
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2005
Location: Netherlands
Status:
Offline
|
|
I'm feeling rather stupid. I installed a program to file my tax report over 2004 in /Documents. That worked with the 2005 app and I though I could do it as well with the 2004 one, it worked, ut now I can't get into the dir.
I tried chown Simon /Users/Simon/Documents but that didn't work. I thought my root password was the same as my admins but that's not the case, and I can't figure out which password I used when I installed 10.3.9. I tried all the variables I can think of, but none work.
So here I am, with my hands in my hair trying to figure out a way to get the permission on that directory fixed. Does anyone have an idea how to do this?
Edit:
Bond:~ Simon$ ls -la |grep Doc
drwx------ 25 505 admin 850 19 Aug 19:10 Documents
I tried the single user method and then the chown command, but that doesn't work. passwd in single user mode also doesn't work(I guess for safety reasons)
(Last edited by Sijmen; Aug 19, 2006 at 01:50 PM.
)
|
|
Apple Powerbook 17" 1,67 GHz, 2 gig RAM, 100 gig HDD, ATI Mobility Radeon 9700 128MB, Superdrive 8X
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status:
Offline
|
|
sudo chown -R Simon ~/Documents
enter your *own* password when prompted.
hope that helps, let us know if it works.
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2005
Location: Netherlands
Status:
Offline
|
|
Thank you for the command, it seems to work, except:
Bond:~ Simon$ sudo chown -R Simon ~/Documents
Simon is not in the sudoers file. This incident will be reported.
Bond:~ Simon$
Okay I tried; pico /etc/sudoers but I've got no permission to edit that file, and without the root password I'm nowhere. I just wish I could remember it.
(Last edited by Sijmen; Aug 19, 2006 at 05:31 PM.
)
|
|
Apple Powerbook 17" 1,67 GHz, 2 gig RAM, 100 gig HDD, ATI Mobility Radeon 9700 128MB, Superdrive 8X
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 1999
Location: :ИOITAↃO⅃
Status:
Offline
|
|
Do you have a different account that is an admin?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2005
Location: Netherlands
Status:
Offline
|
|
Yes. But I tried the same things under that account with no result
|
|
Apple Powerbook 17" 1,67 GHz, 2 gig RAM, 100 gig HDD, ATI Mobility Radeon 9700 128MB, Superdrive 8X
|
| |
|
|
|
 |
|
 |
|
Addicted to MacNN
Join Date: Aug 2004
Location: FFM
Status:
Offline
|
|
You don't need a root password. You need the password of your admin account. And you don't have to edit some file in the Terminal. You can look up and change which accounts are admin accounts in the Accounts system preferences. If you don't know the password, reset it using the tool on the system CD.
And while we are at it: why don't you use the Finder to change the permission back? Why is everybody so obsessed with the Terminal?
|
|
|
| |
|
|
|
 |
|
 |
|
Dedicated MacNNer
Join Date: Mar 2005
Location: Netherlands
Status:
Offline
|
|
Well TETENAL, that did the trick!
Unbelievable that I thought the only possibility was with terminal commands.
Bedankt 
|
|
Apple Powerbook 17" 1,67 GHz, 2 gig RAM, 100 gig HDD, ATI Mobility Radeon 9700 128MB, Superdrive 8X
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Mar 2000
Location: Allston, MA, USA
Status:
Offline
|
|
Actually, the incident was reported to me and I fixed it for you. ;-)
|
|
-- Jason
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|