LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Move from Linux to Windows shared folder (https://www.linuxquestions.org/questions/linux-newbie-8/move-from-linux-to-windows-shared-folder-4175594827/)

trickydba 12-05-2016 09:28 AM

Move from Linux to Windows shared folder
 
I am trying to move a file from a Linux box to a shared folder in Windows(yuck). I was going about this the wrong way by trying to use sftp and scp. I'm thinking the 'mv' command would suit me just fine. The shared Windows(yuck again) folder does not have a set drive name(of course). Any ideas on how I can go about this WITHOUT having root access? I say this because when I try to use the 'mount' command, I get a reply "mount: only root can do that".

szboardstretcher 12-05-2016 11:08 AM

If you want to mount a windows share on a linux box, you either:
  • mount it as the root user
  • set it up in /etc/fstab to be automounted
  • or allow your user sudo access to the mount command.


All times are GMT -5. The time now is 10:09 PM.