Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ArthurDaley

macrumors regular
Original poster
Feb 29, 2008
159
0
If I try to create a new folder on my external drive it says that I don't have the sufficient access privileges. I only have one log in on my Mac and I've only used the drive on this Mac. However the drive was another one sent back from WD after mine broke and it's clearly refurbished - maybe somehow it's still "linked" to the last owner? I can copy to it etc though.

If I do a ls -l /Volumes then I notice that the drive instead of having my name against it like all the other drives it has "root" instead and instead of saying "Staff" like all the other drives it says "Wheel".
 
Worked it out.

Use:

sudo tcsh

To change to root. Then issue this command to change the owner and group of the Volume (external drive in my case):

chown <username>:<group name> /Volumes/<volume name>


Don't include the angle brackets.
 
Worked it out.

Use:

sudo tcsh

To change to root. Then issue this command to change the owner and group of the Volume (external drive in my case):

chown <username>:<group name> /Volumes/<volume name>


Don't include the angle brackets.

What probably happened was the drive was formatted and used on another mac with different user ID's. You may also need to use the -R flag if there are subdirectories.

chown -R user:group /Path/
 
Ah, that's where I was going wrong then. Thx. :)

For the non-geek, the chown ( Change Owner ) command is a throwback to the unix roots. The same can be achieved by command-i on the volume in finder and editing the sharing and permission at the bottom.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.