From: samba-bugs@samba.org
To: cifs-qa@samba.org
Subject: [Bug 14494] New: "setcifsacl" confuses "R" permission with "RX"
Date: Tue, 15 Sep 2020 02:14:54 +0000 [thread overview]
Message-ID: <bug-14494-10630@https.bugzilla.samba.org/> (raw)
https://bugzilla.samba.org/show_bug.cgi?id=14494
Bug ID: 14494
Summary: "setcifsacl" confuses "R" permission with "RX"
Product: CifsVFS
Version: 3.x
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: user space tools
Assignee: jlayton@samba.org
Reporter: micah.veilleux@iba-group.com
QA Contact: cifs-qa@samba.org
Target Milestone: ---
When attempting to set "R" permission with "setcifsacl", "RX" (equivalent to
"READ") is set instead:
------------------------------
mcrw1:/TCS # getcifsacl testfile
REVISION:0x1
CONTROL:0x8004
OWNER:VPTC3\cifsuser
GROUP:VPTC3\Domain Users
ACL:VPTC3\Domain Admins:ALLOWED/0x0/RWDPO
ACL:VPTC3\cifsuser:ALLOWED/0x0/RWDPO
mcrw1:/TCS #
mcrw1:/TCS # setcifsacl -a "ACL:VPTC3\mveil:ALLOWED/0x0/R" testfile
mcrw1:/TCS #
mcrw1:/TCS # getcifsacl testfile
REVISION:0x1
CONTROL:0x8004
OWNER:VPTC3\cifsuser
GROUP:VPTC3\Domain Users
ACL:VPTC3\Domain Admins:ALLOWED/0x0/RWDPO
ACL:VPTC3\cifsuser:ALLOWED/0x0/RWDPO
ACL:VPTC3\mveil:ALLOWED/0x0/READ # --> not ok, should be "R"
mcrw1:/TCS #
mcrw1:/TCS # rm testfile ; touch testfile
mcrw1:/TCS #
mcrw1:/TCS # setcifsacl -a "ACL:VPTC3\mveil:ALLOWED/0x0/RX" testfile
mcrw1:/TCS #
mcrw1:/TCS # getcifsacl testfile
REVISION:0x1
CONTROL:0x8004
OWNER:VPTC3\cifsuser
GROUP:VPTC3\Domain Users
ACL:VPTC3\Domain Admins:ALLOWED/0x0/RWDPO
ACL:VPTC3\cifsuser:ALLOWED/0x0/RWDPO
ACL:VPTC3\mveil:ALLOWED/0x0/READ # --> ok
mcrw1:/TCS #
------------------------------
--
You are receiving this mail because:
You are the QA Contact for the bug.
next reply other threads:[~2020-09-15 2:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-15 2:14 samba-bugs [this message]
2021-03-18 7:33 ` [Bug 14494] "setcifsacl" confuses "R" permission with "RX" samba-bugs
2021-03-18 7:50 ` we actually need richacls Björn JACKE
[not found] ` <CAH2r5msva0XmGjNMonOp0PtXXi5aJeAZ92Cr_MeohEwhzK-kWQ@mail.gmail.com>
[not found] ` <CAN05THTtitSbSEbXtFDJUB3dpTzBFEh5bQLSE=mSheLrsvvNrA@mail.gmail.com>
2021-03-22 11:30 ` Björn JACKE
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-14494-10630@https.bugzilla.samba.org/ \
--to=samba-bugs@samba.org \
--cc=cifs-qa@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).