As mentioned above, when I attempt to open files over a SAMBA mount, sometimes it works fine and vi opens the file up, but other times vi opens up and I get an error like this:
"Windows/Custom2d.txt" [Permission Denied]
Note that it is not just vi doing this:
cat: Windows/Custom2d.txt: Input/output error
Where Windows is the linux folder name of the mount. I can mount to other Windows computers sharing folders with the same command and same sharing setup with no problems.
The following is my mounting command:
sudo mount -o user=<username>,uid=<username>,gid=<username>,nolinux //<Windows-IP>/temp Windows
I get no errors when I mount.
The file I am opening in the example is has the following file structure:
c:\temp\Custom2d.txt
I have ensured that C:\temp is being shared and has 20 allowable simultaneous users.
This was a test to show that it does not have anything to do with recursive subfolder sharing. I have tried IP refreshing, remounting, restarting, and several different mount commands. Does anyone have any idea what could be happening?
Edit: Here is a string of commands to illustrate the issue:
$ cat Windows/Custom2d.txt
...
File Text
...
$ cat Windows/Custom2d.txt
cat: Windows/Custom2d.txt: Input/output error
$ cat Windows/Custom2d.txt
cat: Windows/Custom2d.txt: Input/output error
$ cat Windows/Custom2d.txt
cat: Windows/Custom2d.txt: Input/output error