how to move a plugin .ini file from windows to freenas jail?

Status
Not open for further replies.

Wade

Contributor
Joined
Feb 16, 2014
Messages
110
Im in the process of reloading my freenas box. During the backup process i saved all of my plugin ini files to a windows share. This was easy because i removed all permissions from my freenas main volume, just cut and pasted from jails to desktop.

My question is, how to copy the ini's back to the jails from windows? When i tried to remove permissions for my main volume the system became very unstable and had to uninstall re install a few plugins.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
I'd personally use sftp to move it, then ssh to change permissions/ownership on the file after. (I don't use Windows so this probably doesn't help you)

changing permissions of the jails OS files seems rediculus to me. those files need certain permission levels and ownership for your jail to function properly.
 

Wade

Contributor
Joined
Feb 16, 2014
Messages
110
"changing permissions of the jails OS files seems rediculus to me" you are 100 percent correct, this messed up my freenas, but, it didn't matter because i was in the process of preparing to load everything from scratch (new VDev)

ive searched and searched for a guide to do this, i was surprised not to find one here on the forum or in google

all the time its taking me to learn how to do this i probably just could have reconfigured each gui by now! LOL

im only still looking because id like to learn how, i think what i have to do is

1.) install an sftp client in windows
2.) somehow make download_jail open its ip for a sftp connection
3.) transfer sabnzbd.ini to jail
4.) somehow change the ownership of sabnzbd.ini to media:media

any help is appreciated
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
1) yes
2) just use ssh for the freenas host system. it can see the files in the jail
3) yes
4) the command is "chown"
 
Status
Not open for further replies.
Top