Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Security + File Locations

Featured Replies

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

 

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.

 

  • 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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.