Bug 6189 - UNIX Folder permissions aren't filled in in the windows permissions tab.
UNIX Folder permissions aren't filled in in the windows permissions tab.
Status: NEW
Product: Samba 3.2
Classification: Unclassified
Component: File services
x86 Linux
: P3 normal
: ---
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2009-03-14 20:20 UTC by David Markey
Modified: 2010-06-02 11:21 UTC (History)
1 user (show)

See Also:

mount output (49 bytes, text/plain)
2009-04-30 17:25 UTC, David Markey
no flags Details
smb -b output (12.86 KB, text/plain)
2009-04-30 17:27 UTC, David Markey
no flags Details
smb.conf (1.37 KB, text/plain)
2009-04-30 17:28 UTC, David Markey
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Markey 2009-03-14 20:20:00 UTC
With a mapped samba share on windows, the UNIX permissions(on the security tab) aren't filled in for folders, but are for files.


This is an example(debian 5), the user CS\dmarkey is the owner of that folder/directory, they should have all the left column ticked.

Permissions for files show up correctly.

Tested on server version 3.2 on debian 5 and 3.0 on solaris 10.
Comment 1 David Markey 2009-04-15 19:24:07 UTC
Has anyone had the chance to take a look at this to check that its valid? Thanks
Comment 2 Jeremy Allison 2009-04-16 18:27:50 UTC
Yeah, reproduced it here. If you look in the advanced tab the permissions show correctly though.

Comment 3 Gerald (Jerry) Carter 2009-04-16 18:43:36 UTC

You only get the perms showing up on the "simple" security  tab if they ACE applies to this "folder, subfolders, and files".  So I'm pretty sure
what you are seeing is by design.  If you have POSIX acl support enabled on your file system, you can assign "default" permissions to the folder to correct this.
Or you can fix the perms from the Windows client.
Comment 4 David Markey 2009-04-17 03:13:26 UTC
I tried applying the same permissions to files within the folder with the "Replace permissions for all child objects", didnt work

The reason i think this isnt by design is that if one adds a POSIX permission to the folder, it correctly shows up, Very strange that POSIX permissions shows up but not UNIX ones?
Comment 5 Gerald (Jerry) Carter 2009-04-17 09:16:01 UTC
David, there could be a bug, but I'm gonna stand by my original comment.  Unless there is a regression, I can't see a bug here.  The permissions show up properly in the advanced tab.  The Windows security tab chooses how to display those permissions based on the bits in the access mask in the ACE.  But the permissions appear to be returned properly and displayed correctly.  

If I get a chance, I'll try to setup a repro next week.

btw...would you set the proper version so I'll know which release to look at ?
Comment 6 David Markey 2009-04-22 18:07:26 UTC
I'm working off 3.3.3.

"I'll try to setup a repro next week."

Sorry for my ignorance, i'm not really sure what this means.

Comment 7 David Markey 2009-04-30 17:25:55 UTC
Created attachment 4092 [details]
mount output
Comment 8 David Markey 2009-04-30 17:27:20 UTC
Created attachment 4093 [details]
smb -b output
Comment 9 David Markey 2009-04-30 17:28:18 UTC
Created attachment 4094 [details]
Comment 10 Matthias Dieter Wallnöfer 2010-06-02 11:21:21 UTC
Reassigning this bug to the default assignee since Jerry is no longer directly involved in Samba development.