Skip to main content
added 5 characters in body; edited title
Source Link
Kevin Panko
  • 7.4k
  • 23
  • 45
  • 53

Can't change permission/ownership/group of external hard drive on Ubuntu.

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"rwx for the owner which is my local login, and the group is the "root"root group. I

I need the files readable by the apache user, I was trying to set all files to be "chmod a+rwx -R *"chmod a+rwx -R *, but this doesn't do anything (gives no errroserrors, just has no effect.) I tried chaningchanging the group using "chgrp"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 sudosudo!

What's up with this hard drive??? "sudo chmod a+rwx *" sudo chmod a+rwx * should work on anything, right?

Can't change permission/ownership/group of external hard drive on Ubuntu.

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?

Can't change permission/ownership/group of external hard drive on Ubuntu

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?

edited tags
Link
quack quixote
  • 42.9k
  • 14
  • 108
  • 130
Source Link
MikeN
  • 1.1k
  • 5
  • 14
  • 30

Can't change permission/ownership/group of external hard drive on Ubuntu.

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?