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 errors, just has no effect.) I tried changing 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?