[Samba] Unable to create new files in share
Misty Stanley-Jones
misty at borkholder.com
Mon Apr 18 16:07:19 GMT 2005
Hi all,
I have a share with the following share definition:
[HR_PR]
path = /data/samba/shares/HR_PR
valid users = @hr @acct_admin
browseable = yes
public = no
guest ok = no
force group = hr
inherit acls = yes
create mode = 770
The UNIX permissions on the directory are as follows:
drwxrwx--- 2 root hr 4096 Apr 18 09:47 /data/samba/shares/HR_PR
When I 'su' to my user on the server, I can 'touch' new files just fine.
However when she tries to create a new file, she gets the following error:
[2005/04/18 10:43:13, 3] smbd/process.c:switch_message(886)
switch message SMBntcreateX (pid 9873) conn 0x8354828
[2005/04/18 10:43:13, 3] smbd/dosmode.c:unix_mode(111)
unix_mode(New Text Document.txt) returning 0744
[2005/04/18 10:43:13, 3] smbd/open.c:open_file(115)
Permission denied opening New Text Document.txt
[2005/04/18 10:43:13, 3] smbd/error.c:error_packet(105)
error string = Operation not permitted
[2005/04/18 10:43:13, 3] smbd/error.c:error_packet(129)
error packet at smbd/trans2.c(2200) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DENIED
[2005/04/18 10:43:13, 3] smbd/process.c:process_smb(1091)
Transaction 140998 of length 124
[2005/04/18 10:43:13, 3] smbd/process.c:switch_message(886)
switch message SMBtrans2 (pid 9873) conn 0x8354828
[2005/04/18 10:43:13, 3] smbd/trans2.c:call_trans2qfilepathinfo(2418)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2005/04/18 10:43:13, 3] smbd/trans2.c:call_trans2qfilepathinfo(2443)
call_trans2qfilepathinfo: SMB_VFS_STAT of New Text Document.txt failed (No
such file or directory)
[2005/04/18 10:43:13, 3] smbd/error.c:error_packet(105)
error string = No such file or directory
[2005/04/18 10:43:13, 3] smbd/error.c:error_packet(129)
error packet at smbd/trans2.c(2197) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
[2005/04/18 10:43:13, 3] smbd/process.c:process_smb(1091)
Transaction 140999 of length 142
[2005/04/18 10:43:13, 3] smbd/process.c:switch_message(886)
switch message SMBntcreateX (pid 9873) conn 0x8354828
[2005/04/18 10:43:13, 3] smbd/dosmode.c:unix_mode(111)
unix_mode(New Text Document (2).txt) returning 0744
[2005/04/18 10:43:13, 3] smbd/open.c:open_file(115)
Permission denied opening New Text Document (2).txt
[2005/04/18 10:43:13, 3] smbd/error.c:error_packet(105)
error string = Operation not permitted
[2005/04/18 10:43:13, 3] smbd/error.c:error_packet(129)
error packet at smbd/trans2.c(2200) cmd=162 (SMBntcreateX)
NT_STATUS_ACCESS_DENIED
[2005/04/18 10:43:13, 3] smbd/process.c:process_smb(1091)
Transaction 141000 of length 132
[2005/04/18 10:43:13, 3] smbd/process.c:switch_message(886)
switch message SMBtrans2 (pid 9873) conn 0x8354828
[2005/04/18 10:43:13, 3] smbd/trans2.c:call_trans2qfilepathinfo(2418)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2005/04/18 10:43:13, 3] smbd/trans2.c:call_trans2qfilepathinfo(2443)
call_trans2qfilepathinfo: SMB_VFS_STAT of New Text Document (2).txt failed
(No such file or directory)
[2005/04/18 10:43:13, 3] smbd/error.c:error_packet(105)
error string = No such file or directory
[2005/04/18 10:43:13, 3] smbd/error.c:error_packet(129)
error packet at smbd/trans2.c(2197) cmd=50 (SMBtrans2)
NT_STATUS_OBJECT_NAME_NOT_FOUND
Also when she tries to modify any file, she gets access denied. Every file in
the directory has mod 770 with owner being root and hr being the group.
There are no ACLs defined for this share.
I am stumped! Thanks for any help,
Misty
More information about the samba
mailing list