MacResource
Oops. Changed permissions on internal HD to no access, Now they are gone. Help - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: Oops. Changed permissions on internal HD to no access, Now they are gone. Help (/showthread.php?tid=44380)

Pages: 1 2 3


Oops. Changed permissions on internal HD to no access, Now they are gone. Help - weapon - 11-29-2007

I was trying to lock my drives so that an alternative could not write or read to 2 of my 4 HD.

Changed access to "no access", Restarted and now the drivse do not appear on the desktop.

How do I get them back so i can change the access to Read & write?


Re: Oops. Changed permissions on internal HD to no access, Now they are gone. Help - beerman - 11-29-2007

How do you change a drive to have "no access"?


Re: Oops. Changed permissions on internal HD to no access, Now they are gone. Help - Paul F. - 11-29-2007

Disk Utility?
Select the drive, and click "mount"?


Re: Oops. Changed permissions on internal HD to no access, Now they are gone. Help - cbelt3 - 11-29-2007

You may have to go to the extent of using a root login to fix all this (repair permissions, etc..)

I was afraid this would happen to you- I watched your discussion of your roomie using your Mac. User level security looks easy, but it can get you in lotsa trouble very quickly unless you've got administrative experience. There are, fortunately, people here who have that experience. I've piddled a bit with this stuff, but not a lot.


Re: Oops. Changed permissions on internal HD to no access, Now they are gone. Help - weapon - 11-29-2007

Hopefully, someone can help me fix my mistake. This is why I don't like messing with this kind of stuff either.

My roomy should be getting his laptop in 2 weeks when the check arrives so this will all be over soon but I need to get those drives mounted asap.


Re: Oops. Changed permissions on internal HD to no access, Now they are gone. Help - ztirffritz - 11-29-2007

before you're done the following information will be useful for you. I'll just post it here and get it out of the way upfront. You'll thank me later.

*******************
1 - - x execute
2 - w - write
3 - w x write and execute
4 r - - read
5 r - x read and execute
6 r w - read and write
7 rwx read,write, and execute

man visudo
man sudoer
man su
man sudo
man chmod
man chown
man mount
man umount
********************

have fun


Re: Oops. Changed permissions on internal HD to no access, Now they are gone. Help - MacMagus - 11-29-2007

'Happens all the time.

http://forums.macresource.com/read/1/365675/366036


Re: Oops. Changed permissions on internal HD to no access, Now they are gone. Help - weapon - 11-29-2007

Well I am glad it happens all the time. Now how do I fix it?

Is that really helpful, Ztirffritz? Without explanation and instructions your list might as well be in chinese. lol.

Can I use bachmod or some type of terminal program to fix this problem?


Re: Oops. Changed permissions on internal HD to no access, Now they are gone. Help - Paul F. - 11-29-2007

MacMagus' post from that thread is worth quoteing;

Re: HELP - Need Terminal commands to change Disk Permissions
Posted by: MacMagus
Date: October 09, 2007 07:36PM

With the drive mounted, go into the Terminal, navigate to the local Volumes folder and confirm that the drive shows up there by entering these two lines...

cd /Volumes
ls

The USB drive should be listed there. Note its name.

Now enter this...

sudo chmod 1775 'NAME OF USB DRIVE VOLUME'

...where the name of the drive is substituted inside the quotes.



Re: Oops. Changed permissions on internal HD to no access, Now they are gone. Help - Paul F. - 11-29-2007

In your case, replace "USB Drive" with "currently un-seeable internal drive".

(forgot to mention that)..

And the "chmod" and "chown" commends in Terminal are how BatchMod "does it's thing".