My servers are debian etch latest stable samba release, client is debian
lenny, latest stable release.
I can read create and delete files, but not open them for writing IF
THEY EXIST ALREADY.
I wrote this
/home/leo/doit.c
#include <stdio.h>
main()
{
FILE *fp;
fp=fopen("test","r");
if (fp)
{
printf("opened test for read OK\n");
fclose (fp);
}
else printf("failed to open test for read\n");
fp=fopen("test","w");
if(fp)
{
printf("opened file for write\n");
fclose(fp);
}
else printf("failed to open file for write\n");
}
#mount:
..........
//tempest/leo on /mnt type cifs (rw,mand)
othello:/home/leo# cd /mnt
othello:/mnt# /home/leo/doit
failed to open test for read
opened file for write
othello:/mnt# /home/leo/doit
opened test for read OK
failed to open file for write
This clearly shows the PROBLEM, but where it comes from I do not know. I
have just upgraded to latest lenny stable, in the hope it was 'fixed'
but it is not.
My server is debian etch
Samba version 3.0.24
I have played around with file permissions and smb.conf, but nothing works.
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org