Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > restrict access to external hard drive? chmod, etc.

restrict access to external hard drive? chmod, etc.
Thread Tools
Forum Regular
Join Date: May 2004
Status: Offline
Reply With Quote
Apr 9, 2006, 01:40 AM
 
Hi all.

I have an external drive attached to my comp, and I want to deny access to its contents to anyone but my user (cam). So naturally I went to the terminal and wrote

sudo chmod -R u+w,go-w,go-r Pyrrhus/

which changed the permissions as requested, and now when cam is logged in he sees this:

Big-Slick:/Volumes cam$ ls -l
total 8
lrwxr-xr-x 1 root admin 1 Apr 4 07:41 Big Slick -> /
drwxr-xr-x 9 cam cam 408 Mar 26 10:45 Camtaneous
drwx------ 36 cam cam 1326 Oct 1 2005 Pyrrhus

You can see that only the owner is allowed any access to Pyrrhus. What's strange is that when I log in as another user, I see this:

Big-Slick:/Volumes guest$ ls -l
total 8
lrwxr-xr-x 1 root admin 1 Apr 4 07:41 Big Slick -> /
drwxr-xr-x 9 guest guest 408 Mar 26 10:45 Camtaneous
drwx------ 36 guest guest 1326 Oct 1 2005 Pyrrhus

...it thinks that guest is now the owner. Do you know how I can block out "guest" without having to unplug the drive when other people use my computer, and without needing to authenticate or unlock any folders when I'm logged in as the main user? Thank you.
Cameron
     
Mac Elite
Join Date: Oct 2000
Location: Seattle
Status: Offline
Reply With Quote
Apr 10, 2006, 04:50 AM
 
Make sure permissions are actually active on the external drive. get info on the drive and look at "Ignore permissions on this drive"
You can take the dude out of So Cal, but you can't take the dude outta the dude, dude!
     
Forum Regular
Join Date: May 2004
Status: Offline
Reply With Quote
Apr 16, 2006, 12:53 PM
 
Originally Posted by Gavin
Make sure permissions are actually active on the external drive. get info on the drive and look at "Ignore permissions on this drive"
That was the ticket. Thank you. I think it's ironic that my attempt to avoid the GUI and learn the guts was what prevented me from seeing that option.
Cameron
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 03:44 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2