Skip to content

CIFS (Windows Share) as user home directory

Post any question you may have in regards to GoAnywhere Services and let our talented support staff and other users assist you.
  • bothunbr Offline
  • Posts: 12
  • Joined: Sun Mar 31, 2013 12:13 pm

CIFS (Windows Share) as user home directory

Post by bothunbr »

Hello,

I have an external job that is going to sftp my a file. Let's say it's goanywhere userid is testy01. Once I have the file I need to send it over to a windows server then call a program on an AS400 with director.

Anyway, I would like to skip the file copy GA->windows completely. Can I make a user's home directory point directly to a windows location? I have already added the windows share as a resource in GA services.

FYI: My GA services box is running on Linux.

Thanks!
--Brad
  • Support_Chris Offline
  • Support Specialist
  • Posts: 7
  • Joined: Thu Oct 24, 2013 10:23 am

Re: CIFS (Windows Share) as user home directory

Post by Support_Chris »

Hi Brad,
You can make a user's home directory point directly to this windows location/share. What I would recommend doing is setting the web user's home directory to point to this network share you have set up in GA Services.

If this is the only place you'll ever need this web user's uploads to go, that will work fine. If you would like the user to upload some files to this directory, and other files to another directory, you could utilize virtual folders. That way, the default webdocs location can be used for other types of uploads or downloads.

That is merely a suggestion, in the event you needed additional folders for other tasks.



Thanks,
Chris
Chris Spargen
Technical Support Manager

e. [email protected]
p. 1-800-949-4696
w. GoAnywhere.com | HelpSystems.com
  • Jonathan Offline
  • Posts: 18
  • Joined: Wed Jan 02, 2013 5:27 am
  • Location: Mapledurham, UK
  • Contact:

Re: CIFS (Windows Share) as user home directory

Post by Jonathan »

Hi Brad,

I would mount the cifs share on the linux machine using something like below.

mount -t cifs -o username=xxx //server/share /mnt/share

Then in Services for the user you can set the path to /mnt/share/folder, You might find the performance a bit better as it will use the capabilites of the OS instead of the built in JVM one.
Post Reply