LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Can't access mounted windows share (https://www.linuxquestions.org/questions/linux-networking-3/cant-access-mounted-windows-share-780374/)

hawk__0 01-06-2010 04:12 PM

Can't access mounted windows share
 
It's the strangest thing, I've done this on a couple other servers with no issues whatsoever... here goes:
I need to mount a windows share to copy some files to it, so I used this command which gets no errors:
Code:

sudo mount -t smbfs -o username=XXXXX,password=XXXXX,domain=XXXX.com //192.168.12.30/operrors /home/XXXX/scripts/operrors
Then I try to copy a file to it in my script, and it can't copy to the destination folder (/home/XXXX/scripts/operrors/) when the FS is mounted. I get weird things like these when it's mounted:
Code:

/home/XXXX/scripts/operrors/abc.txt: Not a directory
or
ls operrors
ls: cannot open directory operrors: Not a directory

Directory listing:
Code:

drwxrwxrwx 1 root    root        0 2010-01-05 21:03 operrors

ngwasuma 01-06-2010 04:35 PM

Permissions?


All times are GMT -5. The time now is 05:45 AM.