Results 1 to 1 of 1
Hi again,
this forum is just huge!!!!! And it took me a while to find the right forum. Did use the search function first and posted in the same forums ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-16-2006 #1Just Joined!
- Join Date
- Oct 2006
- Posts
- 23
Strange behavior of Samba with Permissions
Hi again,
this forum is just huge!!!!! And it took me a while to find the right forum. Did use the search function first and posted in the same forums like others did before, but now I hope I found the correct forum, so sorry for double-posting.
---------------
Hi,
I am really stuggeling with Samba, searched the forums and checked tutorials, so far with no success!!!
I created a folder and set chmod 0777 (thought this must work)
and set Samba to share this folder:Code:[root@server all]# ls -la total 32 drwxrwxrwx 3 root all 4096 Oct 16 00:04 . drwxrwxrwx 5 root all 4096 Oct 12 20:39 .. drwxrwxrwx 2 root all 4096 Oct 15 23:31 test -rwxrwxrwx 1 hatice all 8 Oct 13 20:51 test.hat
But if user A is creating a file then user B can not delete that file.Code:[all] comment = "All" path = /etc/samba/data/all public = no browseable = yes writeable = yes force group = all force create mode = 0777 force directory mode = 0770
Also no user can create a folder. Windows XP client shows a message "Access denied".
In the smbd.log I get the following message on Samba service START:
And these error messages when I try to CREATE a folder via SMB Client (Win XP):Code:[2006/10/16 00:13:29, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71) Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED [2006/10/16 00:13:29, 0] auth/auth_util.c:create_builtin_administrators(785) create_builtin_administrators: Failed to create Administrators [2006/10/16 00:13:29, 2] auth/auth_util.c:create_local_nt_token(899) create_local_nt_token: Failed to create BUILTIN\Administrators group! [2006/10/16 00:13:29, 0] auth/auth_util.c:create_builtin_users(751) create_builtin_users: Failed to create Users [2006/10/16 00:13:29, 2] auth/auth_util.c:create_local_nt_token(926) create_local_nt_token: Failed to create BUILTIN\Users group! [2006/10/16 00:13:29, 0] auth/auth_util.c:create_builtin_administrators(785) create_builtin_administrators: Failed to create Administrators [2006/10/16 00:13:29, 2] auth/auth_util.c:create_local_nt_token(899) create_local_nt_token: Failed to create BUILTIN\Administrators group! [2006/10/16 00:13:29, 0] auth/auth_util.c:create_builtin_users(751) create_builtin_users: Failed to create Users [2006/10/16 00:13:29, 2] auth/auth_util.c:create_local_nt_token(926) create_local_nt_token: Failed to create BUILTIN\Users group! [2006/10/16 00:13:29, 2] smbd/server.c:open_sockets_smbd(384)
Both users are logged in successfully to the domain and login script has been executed.Code:[2006/10/16 00:09:27, 1] smbd/service.c:make_connection_snum(941) others (10.11.12.65) connect to service all initially as user sascha (uid=501, gid=600) (pid 7528) [2006/10/16 00:09:27, 2] smbd/reply.c:reply_tcon_and_X(711) Serving all as a Dfs root [2006/10/16 00:09:29, 2] smbd/open.c:open_directory(1936) open_directory: unable to create New Folder. Error was Permission denied [2006/10/16 00:09:29, 2] smbd/open.c:open_directory(1936) open_directory: unable to create New Folder. Error was Permission denied [2006/10/16 00:09:29, 2] smbd/open.c:open_directory(1936) open_directory: unable to create New Folder (2). Error was Permission denied [2006/10/16 00:09:29, 2] smbd/open.c:open_directory(1936) open_directory: unable to create New Folder (2). Error was Permission denied [2006/10/16 00:09:32, 2] smbd/open.c:open_file(352)
Any ideas or suggestions?
Thanks
... LuckyMe


Reply With Quote
