Ubuntu, user can't write to a directory and I don't see why not.

Posted by Peter on Super User See other posts from Super User or by Peter
Published on 2010-03-19T11:12:27Z Indexed on 2010/03/19 11:21 UTC
Read the original article Hit count: 295

Filed under:
|
|

I've got a directory, /var/www/someProject/backup/mysql, and I want the user mysql to write to it. Each time I try to write to it with the mysql user, I get a "can't read/write" error. Yet the directory is 777 as you can see here:

drwxrwxrwx 2 aUser users 4096 2010-03-17 17:14 mysql

I also tried to chown the directory to mysql:mysql, just like the home dir of the mysql user, but no luck, that changed nothing.

What am I doing wrong here? Or is the mysql user limited to his home dir in some other way in Ubuntu? Been bugging me for days now, this problem so any help greatly appreciated.

© Super User or respective owner

Related posts about ubuntu

Related posts about user