I have a company that uses Debian and Samba. I have created three shared folders on the server and the users connect to them from win2K workstations using a common user ID login. Users can also connect via VPN via pop-top VPN server. The problem is that when editting a file locally then trying to save back to the samba share, Windows Excel (or other program) will tell the user that the file has been modified and do they wish to overwrite or save as a new copy. However, if i connect in via VPN, map to the share using the common user ID, I can open, change, and re-save files without getting this error. Has anyone come accross this and if so what can i do to fix it? Thanks in advance, Mark --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.802 / Virus Database: 545 - Release Date: 26/11/2004
Hi Mark. On Wed, 2004-12-01 at 12:05 +1100, Mark Huff wrote:> I have a company that uses Debian and Samba. I have created three shared > folders on the server and the users connect to them from win2K workstations > using a common user ID login. Users can also connect via VPN via pop-top > VPN server. > > The problem is that when editting a file locally then trying to save back to > the samba share, Windows Excel (or other program) will tell the user that > the file has been modified and do they wish to overwrite or save as a new > copy. However, if i connect in via VPN, map to the share using the common > user ID, I can open, change, and re-save files without getting this error. >I had a similar issue which turned out to be directory mask and create mask related. I used a common group and added members to it. The Linux permissions were 770 and the masks were default as in the Swat tool. I changed the masks to match the Linux permissions and that solved the problem. Regards, James Bowes, Volar Technology Consulting.
I have looked at the permissions and other things. Something that I found tonight (with the help of a friend) is that the Samba permissions are being changed by some cron program or something in Linux. The permissions on the share had been set to 777 which had fixed the problem, but the problem returned. I checked the permissions tonight and they had reverted to 755. I do not have tripwire or anything like it running, though I do have snort on a daily cron. My friend seems to think that snort might be responsible for this, so i have temporarily removed it from running to see what happens. I have looked though a couple of other newsgroups and see that there is some issue with permissions changing "automatically" after being set, and some other issues involving windows and samba shares. Hopefully I can get this issue tracked down and fixed... Thanks.. Mark Huff --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.809 / Virus Database: 551 - Release Date: 9/12/2004