I have two Fedora computers. One is running 11 and one is newly upgraded to 12. I have a simple fstab line to mount a file with type cifs and no other options except for username and password. When mounted on the Fedora 11 computer the directories have permission drwxrwxrwx and the files have permissions -rwxrwxSrwx. In Fedora 12 the perrmissions are drwxr-xr-x and files are -rwxr-xr-x. I can change these by putting file_mode and dir_mode in fstab. However, the files do not pick up the S attribute. The files are all on a computer running Windows XP. If I mount it to a different mount point using the mount command without fstab I get the same result.
While things work fine in the terminal not all is well. The problem is that I am running a program that checks to see if a file is a directory. In Fedora 11 everything works fine. However, in 12 the program does not see the directories as directory files.
1. Why did the file permissions change? They worked fine on the upgraded computer when it ran Fedora 11.
2. How do I make programs see the cifs directories correctly?
3. Is this a problem in Fedora or in Windows? If so how do I change Windows?
Any help will be greatly appreciated.
---------- Post added at 10:12 AM CST ---------- Previous post was at 09:35 AM CST ----------
I just ran an interesting test. I went to the directory on the Windows computer and created a small python program with xemacs. The program appeared in the directory and ran when I issued python. However, when I went to modify it with xemacs it stated the file did not exist and created a new file. However, emacs was able to open and edit the file.
There appears to be some strange things happening with cifs.