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 > macOS > Chown on secondary hard drive not working

Chown on secondary hard drive not working
Thread Tools
Seamus
Forum Regular
Join Date: Jul 2002
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Oct 13, 2010, 04:39 PM
 
I'm trying to change the owner of an empty directory on a secondary hard drive on OS X 10.6 through the terminal using the usual command:

> sudo chown -R username dirname/

...but when I do this, nothing happens! The owner is *not* changed and no error messages appear. If I do this same command on a directory on my boot hard drive, the command DOES work. I have tried this on another computer as well on its secondary hard drive, and same thing...I cannot change the folder owner!

Chmod DOES work on the secondary hard drive, so this seems to be some bug with chown...does anyone have any ideas?
I'm a bad...motherf%#!ing DJ
     
Art Vandelay
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Oct 13, 2010, 04:46 PM
 
Are permissions disabled on the secondary drive? Do a Get Info on the drive to verify. What you're describing occurs when permissions are disabled on a volume.
Vandelay Industries
     
besson3c
Clinically Insane
Join Date: Mar 2001
Location: yes
Status: Offline
Reply With Quote
Oct 13, 2010, 05:23 PM
 
How is the drive formatted?
     
Seamus  (op)
Forum Regular
Join Date: Jul 2002
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Oct 13, 2010, 05:38 PM
 
Originally Posted by Art Vandelay View Post
Are permissions disabled on the secondary drive? Do a Get Info on the drive to verify. What you're describing occurs when permissions are disabled on a volume.
Yes, they are...but when I try to uncheck the box, I get the following error dialog box:

"An unexpected error occured (error code -8076)"
I'm a bad...motherf%#!ing DJ
     
Seamus  (op)
Forum Regular
Join Date: Jul 2002
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Oct 13, 2010, 05:45 PM
 
Originally Posted by besson3c View Post
How is the drive formatted?
Mac OS Extended (Journaled).
I'm a bad...motherf%#!ing DJ
     
Art Vandelay
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status: Offline
Reply With Quote
Oct 13, 2010, 05:53 PM
 
Originally Posted by Seamus View Post
Yes, they are...but when I try to uncheck the box, I get the following error dialog box:

"An unexpected error occured (error code -8076)"
Try this in the Terminal:

sudo diskutil enableOwnership /Volumes/name_of_drive

It also wouldn't hurt to run Disk First Aid on the secondary drive.
Vandelay Industries
     
Seamus  (op)
Forum Regular
Join Date: Jul 2002
Location: Los Angeles, CA
Status: Offline
Reply With Quote
Oct 13, 2010, 06:00 PM
 
Originally Posted by Art Vandelay View Post
Try this in the Terminal:

sudo diskutil enableOwnership /Volumes/name_of_drive

It also wouldn't hurt to run Disk First Aid on the secondary drive.
Works! Thank you so much.
I'm a bad...motherf%#!ing DJ
     
   
 
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
Top
Privacy Policy
All times are GMT -4. The time now is 04:31 AM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,