1 2 Previous Next 21 Replies Latest reply: Jan 30, 2013 10:50 AM by msi123
msi123 Level 1 Level 1 (0 points)

im locked out of my music folder, I did not change my permission. please help!!!!

 

the error is "The folder “Music” can’t be opened because you don’t have permission to see its contents. "

 

the permission box in info says "you have unkown access. "


MacBook Pro, OS X Mountain Lion (10.8.1)
  • 1. Re: Im locked out of my music folder.
    Barney-15E Level 8 Level 8 (35,270 points)

    Please run this command in Terminal (copy the whole line and paste into Terminal, then hit return) and post the results. If you want, you can paste into a text editor first and remove your user name. Just replace it with "username" or something like that.

    ls -aleO@ ~/
    

    It will list all of the folders in your home and the permissions set on them.

    That will help determine if we need to do a full scale reset or just fix the Music folder.

  • 2. Re: Im locked out of my music folder.
    msi123 Level 1 Level 1 (0 points)

    Last login: Sat Jan 26 14:43:48 on ttys000

    Last login: Mon Jan 28 13:59:05 on console

    server:~ aaronhertrich$ ls -aleO@ ~/

    total 72

    drwxr-xr-x+  29 aaronhertrich  staff  -            986 28 Jan 18:20 .

    0: group:everyone deny delete

    drwxr-xr-x+   9 root           admin  -            306 28 Jan 11:59 ..

    0: user:_spotlight allow list,search,file_inherit,directory_inherit,only_inherit

    -rw-------    1 aaronhertrich  staff  compressed     3 25 Aug 15:13 .CFUserTextEncoding

    -rw-r--r--@   1 aaronhertrich  staff  -          21508 28 Jan 19:57 .DS_Store

              com.apple.FinderInfo             32

    drwx------   87 aaronhertrich  staff  -           2958 28 Jan 20:18 .Trash

    -rw-------    1 aaronhertrich  staff  -              0 25 Aug 22:15 .Xauthority

    -rw-------    1 aaronhertrich  staff  -            384 26 Jan 14:47 .bash_history

    drwxr-xr-x    3 aaronhertrich  staff  -            102 23 Jan 18:39 .cache

    drwx------    3 aaronhertrich  staff  -            102  3 Oct 20:38 .cups

    drwx------   14 aaronhertrich  staff  -            476 11 Oct 21:19 .dropbox

    drwxr-xr-x    3 aaronhertrich  staff  -            102 25 Aug 22:15 .fontconfig

    -rw-r--r--    1 aaronhertrich  staff  -            625 26 Jan 00:09 .profile

    -rw-r--r--    1 aaronhertrich  staff  -            241 25 Jan 19:26 .profile.macports-saved_2013-01-26_at_00:09:10

    drwxr-xr-x    3 aaronhertrich  staff  -            102 18 Dec 14:12 Adobe Dreamweaver CS6

    drwxr-xr-x    5 aaronhertrich  staff  -            170 25 Jan 20:25 Applications

    drwxr-xr-x@   5 aaronhertrich  staff  -            170 25 Jan 20:30 Applications (Parallels)

              com.apple.FinderInfo             32

    drwx------@  15 aaronhertrich  staff  -            510 28 Jan 20:18 Desktop

              com.apple.FinderInfo             32

    0: group:com.apple.sharepoint.group.2 allow search

    1: group:everyone deny delete

    drwx------+  26 aaronhertrich  staff  -            884 28 Jan 12:50 Documents

    0: group:everyone deny delete

    drwx---rwx+ 119 aaronhertrich  staff  -           4046 28 Jan 19:57 Downloads

    0: group:everyone deny delete

    drwx------@  15 aaronhertrich  staff  -            510 11 Oct 21:14 Dropbox

              com.apple.FinderInfo             32

    -rw-r--r--    1 aaronhertrich  staff  -              0 25 Jan 17:52 DumpLog 13-01-25 17:52

    -rw-r--r--    1 aaronhertrich  staff  -              0 25 Jan 17:56 DumpLog 13-01-25 17:56

    -rw-r--r--    1 aaronhertrich  staff  -              0 25 Jan 18:07 DumpLog 13-01-25 18:07

    drwxr-xr-x@   6 aaronhertrich  staff  -            204 11 Oct 21:14 Google Drive

              com.apple.FinderInfo             32

    drwx------@  60 aaronhertrich  staff  hidden      2040 26 Jan 19:41 Library

              com.apple.FinderInfo             32

    0: group:everyone deny delete

    drwxrwxrwx+  37 aaronhertrich  staff  -           1258 28 Jan 19:57 Movies

    0: group:everyone deny delete

    drwx---r-x+   4 aaronhertrich  staff  -            136 28 Jan 20:16 Music

    0: group:everyone deny delete

    drwx------+  10 aaronhertrich  staff  -            340 12 Dec 08:08 Pictures

    0: group:everyone deny delete

    drwxr-xr-x+   5 aaronhertrich  staff  -            170 25 Aug 15:13 Public

    0: group:everyone deny delete

    server:~ aaronhertrich$

  • 3. Re: Im locked out of my music folder.
    Barney-15E Level 8 Level 8 (35,270 points)

    I'm not sure why you are locked out of Music, but you can change it to default with this:

    chmod 700 ~/Music

    Your Movies folder is also set to be accessable to all. Again, this will fix it if that is not what you want:

    chmod 700 ~/Movies

    You've also got an ACL set for Spotlight to access the /Users folder. I'm not sure why.

    Again, I don't know that any of that would prevent you from doing anything in those fodlers.

  • 4. Re: Im locked out of my music folder.
    msi123 Level 1 Level 1 (0 points)

    it did not fix it. the movies is accessable to all so i can access it though my server. and the spot light i have not a clue. i opened spot light, it says indexing aaron's macbook pro

  • 5. Re: Im locked out of my music folder.
    Barney-15E Level 8 Level 8 (35,270 points)

    That might have been put there by Spotlight while it indexes.

     

    I don't see any reason you would not have access to that folder. Everything there says you are the owner and have read, write, and execute permissions.

     

    Have you restarted and logged back in?

     

    Not the issue at hand, but If you log into your Macbook Pro from the Server using your Macbook Pro login credentials, you should be able to access everything on your Macbook Pro just as if you were logged into it. No need for the other permissions.

  • 6. Re: Im locked out of my music folder.
    msi123 Level 1 Level 1 (0 points)

    yes i have restarted.

  • 7. Re: Im locked out of my music folder.
    Barney-15E Level 8 Level 8 (35,270 points)

    You can try Resetting Home folder Permissions.

    Just follow the steps for Lion as it is the same for Mountain Lion.

  • 8. Re: Im locked out of my music folder.
    msi123 Level 1 Level 1 (0 points)

    so i try to rest and i got this

     

    Last login: Tue Jan 29 18:24:53 on ttys000

    server:~ aaronhertrich$ chflags -R nouchg,nouappnd ~

    chflags: /Users/aaronhertrich/Desktop/Music: Permission denied

    server:~ aaronhertrich$

  • 9. Re: Im locked out of my music folder.
    Barney-15E Level 8 Level 8 (35,270 points)

    That's an additional Music folder you created on your Desktop. Likely is the reason everything looks correct, but you don't have permission.

     

    What is the result of this command?

    ls -aleO@ /Users/aaronhertrich/Desktop/Music
    

     

    These should fix it:

    sudo chown aaronhertrich:staff /Users/aaronhertrich/Desktop/Music
    chmod 700 /Users/aaronhertrich/Desktop/Music
    

     

    The sudo command will run chown (change owner) with elevated privileges. It will ask for your admin password. When you type it out, you won't see anything on the screen. Just type the password when requested and hit return.

  • 10. Re: Im locked out of my music folder.
    msi123 Level 1 Level 1 (0 points)

    Last login: Tue Jan 29 18:45:16 on ttys000

    server:~ aaronhertrich$ sudo chown aaronhertrich:staff /Users/aaronhertrich/Desktop/Music

    sudo: unable to cache user root, already exists

    server:~ aaronhertrich$ chmod 700 /Users/aaronhertrich/Desktop/Music

  • 11. Re: Im locked out of my music folder.
    Barney-15E Level 8 Level 8 (35,270 points)

    I don't understand the error with sudo. I'm confused though that it allowed you to change the mode if it couldn't change the owner back to you. What does the list command show, now?

  • 12. Re: Im locked out of my music folder.
    msi123 Level 1 Level 1 (0 points)

    Last login: Tue Jan 29 19:08:22 on ttys000

    server:~ aaronhertrich$ ls -aleO@ /Users/aaronhertrich/Desktop/Music

    ls: /Users/aaronhertrich/Desktop/Music: Permission denied

    server:~ aaronhertrich$

  • 13. Re: Im locked out of my music folder.
    Barney-15E Level 8 Level 8 (35,270 points)

    I think I may now understand the response from sudo.

    Can you run ls with sudo?

     

    sudo ls -aleO /Users/aaronhertrich/Desktop/Music
    
  • 14. Re: Im locked out of my music folder.
    msi123 Level 1 Level 1 (0 points)

    Last login: Tue Jan 29 19:42:36 on ttys000

    server:~ aaronhertrich$ sudo ls -aleO /Users/aaronhertrich/Desktop/Music

    sudo: unable to cache user root, already exists

    server:~ aaronhertrich$

1 2 Previous Next