Bug 9284 - problem setting ACL permission on shared folder: setting rwx but getting r-x
Summary: problem setting ACL permission on shared folder: setting rwx but getting r-x
Status: RESOLVED FIXED
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: File services (show other bugs)
Version: unspecified
Hardware: x86 Linux
: P5 critical (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks: 9342
  Show dependency treegraph
 
Reported: 2012-10-11 12:42 UTC by Inno Yev
Modified: 2012-12-04 12:02 UTC (History)
3 users (show)

See Also:


Attachments
The attachement contains the level 10 log, and as well wireshark traffic (746.58 KB, application/octet-stream)
2012-10-11 12:42 UTC, Inno Yev
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Inno Yev 2012-10-11 12:42:03 UTC
Created attachment 8046 [details]
The attachement contains the level 10 log, and as well wireshark traffic

Hello,

I am having problem setting permission on shared folder:

the folder is datasamba/common and after I set full permission (from win7) for a user itester (3000017) and also tester (3000018), I could see that it is only granting r-x to those users. but I could see from the default permissions that they have rwx.

[root@ramoffice ~]# getfacl /datasamba/common
getfacl: Removing leading '/' from absolute path names
# file: datasamba/common
# owner: root
# group: users
# flags: sst
user::rwx
user:root:rwx
group::---
group:wheel:r-x
group:users:---
group:3000008:r-x
group:3000017:r-x
group:3000018:r-x
mask::rwx
other::---
default:user::rwx
default:user:root:rwx
default:group::---
default:group:wheel:rwx
default:group:users:---
default:group:3000008:r-x
default:group:3000017:rwx
default:group:3000018:rwx
default:mask::rwx
default:other::---


[root@ramoffice ~]# wbinfo -i itester
OFFICEDOM\itester:*:3000017:100:Innocent Tester:/home/OFFICEDOM/itester:/bin/bash
[root@ramoffice ~]# wbinfo -i tester
OFFICEDOM\tester:*:3000018:100:Tester Ramjet:/home/OFFICEDOM/tester:/bin/bash


Can any one also tell me how I can get info about the builtin groups, actually with wbinfo, I am only able to get:

[root@ramoffice ~]# wbinfo -g
Enterprise Read-Only Domain Controllers
Domain Admins
Domain Users
Domain Guests
Domain Computers
Domain Controllers
Schema Admins
Enterprise Admins
Group Policy Creator Owners
Read-Only Domain Controllers
DnsUpdateProxy
Comment 1 Jeremy Allison 2012-10-11 21:14:29 UTC
The log states this is version:

  samba version 4.1.0pre1-GIT-615951e started.

which is a git-snapshot out of master.

While I appreciate the bug notification, we're trying to stabilize the 4.0.0 stream right now, and there have been significant changes between 4.0.0 ACL code and 4.1.0 ACL code.

Can you try and reproduce either out of the 4.0.0rc2 release, or at the very least with branch v4-0-test please ?

That way I have a known codebase to work with.

Thanks.

Jeremy.
Comment 2 Inno Yev 2012-10-11 21:35:59 UTC
Hi Jeremy,

could you please guide me how I could get the 4.0.0rc2 release?


I see from the howto that I could get the samba_4_0_test as below, but from your post, I understand better I will take the 4.0.0rc2 release

rsync -avz samba.org::ftp/unpacked/samba_4_0_test/ samba-master


is it may be somewhere here:

http://ftp.samba.org/pub/samba/samba4/
Comment 3 Jeremy Allison 2012-10-11 21:40:11 UTC
https://ftp.samba.org/pub/samba/rc/
Comment 4 Inno Yev 2012-10-11 23:59:25 UTC
You are the main man. I've tried it and it is working fine. thanks a lot.

will keep testing it, and will let you know If I find any issue.

(In reply to comment #3)
> https://ftp.samba.org/pub/samba/rc/
Comment 5 Karolin Seeger 2012-12-04 11:09:30 UTC
Can you please try to reproduce this one with 4.0.0rc6?

Thanks!
Comment 6 Karolin Seeger 2012-12-04 12:02:17 UTC
The reporter wrote that it's working fine now.
Closing out bug report.

Thanks!