March 6, 201016 yr Hello, Looking for some advice. I have been installing various add-ons and generally playing around and come across a consitent problem for me (which will be my lack of understanding) If i want to run something under a user other than root, how do i give permissions to modify directories under /mnt/disk1/... Or should I even be doing this? An example is the MySQL installation •Modify the text '/mnt/disk1/mysql' with a location on your unRAID server. I tried to put the database on a user-share but this won't work because of the mysql user having no permission to do so. So I have ended up running a successfuly MySQl instance, however using "root" instead of "mysql" user due to permission problems (not good!?) i.e. mysql user could not creatre/write files on /mnt/disk1/mysql Even though I have chown the direct directory with for mysql it still has no permissions Is there another recommended disk location I should be using for persisting data away from the shares? Any advice gratefully received
March 6, 201016 yr So I have ended up running a successfuly MySQl instance, however using "root" instead of "mysql" user due to permission problems (not good!?) So, you've successfully solved your problem. Why would that not be good? Everything on unRAID runs as root anyway. It's meant to be a home NAS, not a server open to the outside world. But if you're thinking of making your unRAID accessible to the outside world, then your mysql is the least of your problems.
March 11, 201016 yr Author Thanks for the response. Thats good - just checking (still learning ins and outs of linux) I'll leave it as is.
Archived
This topic is now archived and is closed to further replies.