Jump to content

/etc/fstab persistence or how to mount other than root


tucansam

Recommended Posts

Hi guys.

 

I have a little situation here.  I have two unraid server, one exporting cifs shares to another.  Is there a way to persist modification to /etc/fstab?  Right now I have a few lines in my /boot/config/go script that create directories and mount cifs shares in those directories.  I am attempting to force a user for these mounts, however user root group root is always who ends up owning the directories, and then they are not writable. 

 

Any suggestions welcome.

Link to comment

Is there a reason you are not using the Unassigned Devices plugin to do this?    That would avoid you having to manipulate the /etc/fstab file.

 

THAT WORKED.

 

This has been driving me crazy for days. 

 

THANK YOU!!!!

 

I assume this will survive a reboot?

Glad to hear it worked.  It will survive a reboot.  Having said that do a reboot to ensure you have the UD settings correct for persisting across reboots.
Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...