Bug 5330 - Since 3.0.25 report Permissind Denied on directory root:smb 730
Summary: Since 3.0.25 report Permissind Denied on directory root:smb 730
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.25
Hardware: All FreeBSD
: P3 major
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-17 05:23 UTC by Serge A. Votintsev
Modified: 2020-03-15 21:38 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Serge A. Votintsev 2008-03-17 05:23:22 UTC
Since 3.0.25 Samba report Permission Denied on directory root:smb rwx-wx--- (chmod 730). User initially as smb and group smb, i have to write directory, but no to read it. In Samba 3.0.24 it works. I'm tests all releases after 3.0.24, it dont works.

Sorry for my very bad english :)
Comment 1 Karolin Seeger 2008-03-17 05:28:23 UTC
Did you define a "write list" for the affected share(s)?
Since Samba 3.0.25 you need to prepend the domain prefix.

Example:

write list = @DOM\smb

instead of
 
write list = @smb
Comment 2 Serge A. Votintsev 2008-03-17 05:49:34 UTC
smb.conf
...
[tmp]
        path = /var/data/smb/tmp
        public = yes
        writable = yes
        create mask = 0660
        directory mask = 0770
...
Share content:
..
user1  user1:smb 730
user2  user2:smb 730
user3  user3:smb 730
all    smb:smb  770
Comment 3 Serge A. Votintsev 2008-03-17 08:42:14 UTC
(In reply to comment #2)
> smb.conf
> ...
> [tmp]
>         path = /var/data/smb/tmp
>         public = yes
>         writable = yes
>         create mask = 0660
>         directory mask = 0770
> ...
> Share content:
> ..
> user1  user1:smb 730
> user2  user2:smb 730
> user3  user3:smb 730
> all    smb:smb  770
> 

Yesterday i tested Samba 3.0.28, in logs with debug level 5:

smbd/dir.c:OpenDir
OpenDir: Can't open user1 Permission denied
...
OpenDir: Can't open user2 Permission denied
...
OpenDir: Can't open user3 Permission denied
...
Comment 4 Björn Jacke 2020-03-15 21:38:41 UTC
this is probably not a bug, if you still have the issue, please consult the mailing list or another support option from https://www.samba.org/samba/support/