Lost rights to external drive

Discussion in 'OS X Mavericks (10.9)' started by cupik, May 27, 2014.

  1. cupik, May 27, 2014
    Last edited: May 28, 2014

    cupik macrumors newbie

    Joined:
    May 27, 2014
    #1
    SOLVED


    Hello,
    I have quite puzzling issue with my external drives.
    I have macbook pro from 2010 with Mavericks and old macbook from 2006 with osx server 10.6.8
    I tried to share all folders between both (via get info window)
    when i choose to do so, I also used apply to enclosed items option.
    That took a while, and after that I experienced severe problems on both computers and external drives.
    My rights got totally messy.
    I had to reinstall mavericks on the newer laptop, and on the server laptop I can only get to the single user or verbose mode. On the old macbook with osx 10.6.8 i can't get to GUI at all.
    I Also lost rights to my external drives. All rights are set to custom mode and I cant change it.

    I simply reinstalled mavericks on the newer laptop, but cant access external drives. There is a pop up message about insufficient rights when i try to open it.
    Is there any way to access those drives and change the rights so that I can actually use them?
    Is the any way I can access GUI on the old macbook?

    in single user mode i type ls and i can see all folders and files, just cant access gui.

    Any idea how i can fix it?
     
  2. satcomer macrumors 603

    satcomer

    Joined:
    Feb 19, 2008
    Location:
    The Finger Lakes Region
    #2
    Highlight the whole external and do a Get Info on that drive and then tell it to ignore privileges.
     
  3. cupik thread starter macrumors newbie

    Joined:
    May 27, 2014
    #3

    I have already tried that one, no joy.
     
  4. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #4
    See my post #6 in this thread. Delete the file /var/db/volinfo.database and it will reset all your externals to the default ignore ownership setting.

    On the old machine, I think you will need to reinstall the OS to get that straightened out. Don't erase the disk, just reinstall over top of the existing install.
     
  5. cupik thread starter macrumors newbie

    Joined:
    May 27, 2014
    #5
    Hello,
    I have tried to delete this file but i don't have rights to do that.
     
  6. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #6
    Did you run this command from my post #6 in the other thread I linked? The sudo command will give you the elevated privileges you need to do this. You will be asked for your password.

    Code:
    sudo rm /var/db/volinfo.database
     
  7. cupik thread starter macrumors newbie

    Joined:
    May 27, 2014
    #7
    Hello,
    Yes, I tried that, also logged in as root and deleted the file. rebooted, still can't access external rive
     
  8. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #8
    I'm confused. You said you were not able to run the command I gave you, but this second post sounds like you were able to and it did not have the desired effect. Can you clarify exactly what you did and the result.
     
  9. cupik thread starter macrumors newbie

    Joined:
    May 27, 2014
    #9
    i did the command in the terminal, but that didn't help.
    then i removed manually the file as root. after that the file is modified in a way that there is 0 at the end of the truing responsible for hard drive, but can't change to 0 in the external drive string.
     
  10. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #10
    Unplug all external drive then run the command to delete the file. A new, blank version of the file will automatically be created. Now plug in an external and its rights will default to ignore ownership being check marked. You don't need to edit the file itself.
     
  11. cupik thread starter macrumors newbie

    Joined:
    May 27, 2014
    #11

    i did as you said, and the outcome in terminal is:

    sudo: /var/db/sudo writable by non-owner (040777), should be mode 0700
     
  12. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #12
    Just to be clear... you need to run that command I gave you on the newer Macbook running Mavericks, not against the external drive. Copy and paste the command from my forum post into Terminal while booted to Mavericks on the Macbook and it should work.
     
  13. cupik thread starter macrumors newbie

    Joined:
    May 27, 2014
    #13
    Hello
    Yes, I run it on the newer macbook, but my problem is with external hard drive, i can't access it. i managed to fix newer macbook with system reinstallation. the problem is with the external drive. i can't access IT
     
  14. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #14
    I understand, and running that command should reset the externals all to ignore ownership being cheek marked, which should allow you to get beyond any permissions errors. Perhaps you have something else going on here.
     
  15. cupik thread starter macrumors newbie

    Joined:
    May 27, 2014
    #15
    Well, let's add few details.
    Originally I was trying to share everything with everything.
    In other words, I wanted to make the whole mac book hard drive and external hard rives as shared folders. I tried to do the same on the olde server macbook. after that process, when I wanted to make the whole hard drive and external hard drives as shared folders I got into problems.
    I tried your command several times, I deleted the file several times and rebooted.
    I still can access the external drive. I have 500GB and nearly 1Tb on the other one of personal photos, movies and films.
    Any idea how to access it? Whenever I try to change the rights on the external drive (it is set as custom now) I can't do it. It automatically returns to custom setting.
     
  16. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #16
    With ignore ownership check marked, it does not matter what the folder permissions are as that overrides all those settings. If you select the external in Finder then do a command-i to get info is the ignore ownership box checked? That is what you want.

    Go into the Sharing pref pane and make sure you have all that sharing turned off.

    [​IMG]
     
  17. cupik, May 27, 2014
    Last edited: May 27, 2014

    cupik thread starter macrumors newbie

    Joined:
    May 27, 2014
    #17

    I have done that in the first place, and still can't access it.
    Permissionas are set to custom.
    ignore ownership box doesn't help, still can't open it.
     
  18. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #18
    I'm out of ideas. Sounds like maybe all that sharing business you had setup may have messed things up. :confused:
     
  19. cupik, May 28, 2014
    Last edited: May 28, 2014

    cupik thread starter macrumors newbie

    Joined:
    May 27, 2014
    #19

    For those with similar problems.

    I have found a solution
    In terminal, when the drive in question is connected, just type:

    sudo chflags -R nouchg /Volumes/{G,R}*
    sudo find !$ -type d -exec chmod a+x {} \;
    Of course add proper volume name in place.
     
  20. Weaselboy Moderator

    Weaselboy

    Staff Member

    Joined:
    Jan 23, 2005
    Location:
    California
    #20
    Glad you got it sorted out. Those commands are over my little pinhead. :D
     
  21. tomatoking0815 macrumors newbie

    Joined:
    Oct 10, 2015
    #21
    Thank you cupik! You are invincible!
     

Share This Page