Hi,
I've a weird problem with samba. When I'm connected with the VPN (not yet tested on site), I cannot open a file I have just created.
So, I open my personal folder (idem with shared folders), create a new file "test.txt", open it, write a sentence, save it and exit. No problem. Now, when I try to open it again I have a permission problem...
I've activated the log of samba (
log level = 3) and in the log:
[...] smbd/open.c:424(open_file)
Error opening file new.txt (NT_STATUS_ACCESS_DENIED) (local_flags=0) (flags=0)
[...] smbd/error.c:60(error_packet_set)
error packet at smbd/error.c(136) cmd=45 (SMBopenX) NT_STATUS_ACCESS_DENIED
But I can still, rename the file, move it and delete it without any error. I just cannot open it again?!?
I've check the ACL before and after the first edit. No change:
# getfacl new.txt
# file: new.txt
# owner: dmoraine
# group: __USERS__
user::rwx
group::r--
other::r--
I've this problem with the PDC enable or not. And the problem is the same using the samba Ubuntu client or with a Windows XP box.
I still need to test this on site without VPN tomorrow.
Any help greatly will be greatly appreciate.