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