Can't change permission/ownership/group of external hard drive on Ubuntu.
Posted
by MikeN
on Super User
See other posts from Super User
or by MikeN
Published on 2009-10-18T22:02:07Z
Indexed on
2010/06/07
2:42 UTC
Read the original article
Hit count: 313
I have an external hard drive connected to my Linux box. I wanted to setup a web server to access files on it, but the permission on all files and directories on the drive are "rwx" for the owner which is my local login, and the group is the "root" group. I need the files readable by the apache user, I was trying to set all files to be "chmod a+rwx -R *", but this doesn't do anything (gives no errros, just has no effect.) I tried chaning the group using "chgrp" to my user group, but that won't work either, it gives me errors that I lack permission even when I run all those commands as sudo!
What's up with this hard drive??? "sudo chmod a+rwx *" should work on anything, right?
© Super User or respective owner