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.

(SOLVED) unraid 6.9.1: help writing to an unraid share from ubuntu-18.04-server without root privileges

Featured Replies

hey everyone, first post here. I have a machine that I would like to do some computation on, and I have an unraid machine which hosts a few shares. One of those shares I would like to write to from the compute machine programmatically (i.e. the writable share on the unraid machine is a scratch space). The compute machine is running ubuntu 18.04 server edition.

 

I've tried mounting the share using mount.cifs (and have edited /etc/fstab as well), and am logging into an unraid profile that has read/write privileges to the share, but am required to have sudo privileges on the compute machine to write.

 

specifically, I can only get the share to mount using the following command:

sudo mount.cifs <unraid_ip>/path_to_share <mount_point> -o user=<unraid_profile>,rw

 

From what I've been reading, it looks like mount.cifs (and also mount) require root to use unless I modify sudoers, which I would prefer to avoid.

 

Has anyone had this issue before, or does anyone have any tips?

 

Edit: SOLVED

The solution was that unraid was sending file permissions, so I had to include my userid and gid as well as force their usage to mount:

sudo mount -t cifs -o user=<unraid_profile>,uid=$(id -u),gid=$(id -g),forceuid,forcegid, <unraid_ip>/path_to_share <mount_point>

 

Edited by pickandroll3
added solution

  • pickandroll3 changed the title to (SOLVED) unraid 6.9.1: help writing to an unraid share from ubuntu-18.04-server without root privileges

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.