Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

How do i change the ownership of folders on a secondary hard drive using the chown to make the folder owner be administrator

When i use this command

chown -R username foldername

I get an error 'Read Only filesystem'

Any ideas?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

The command syntax is:

chown [options] username:groupname filename

if you just want to change the user for a given folder you can leave out the :groupname and also add in a -R to make the command go recursively through all the files in the folder like so:

chown -R username foldername

Unless your main account is called "Administrator" this is probably not the username you want to use on OSX. Do you want to give yourself permissions or root?

EDIT:
In response to "Error: Read Only filesystem":
If the file system is NTFS, Mac OS X does not natively support modifying NTFS file systems but there is third party software available: http://www.lifehack.org/articles/lifehack/how-to-read-and-write-ntfs-windows-partition-on-mac-os-x.html
Its buggy though so I would be careful

share|improve this answer
    
When i do this, I get a an error 'Read only filesystem' any ideas –  Gatura Jan 27 '10 at 8:28
    
How is the external hard drive connected? Is the hard drive formatted NTFS? If so then you will have problems making changes. Mac OS X does not natively support modifying NTFS file systems but there is third party software available: lifehack.org/articles/lifehack/… Its buggy though so I would be careful. –  einstiien Jan 27 '10 at 8:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.