[Bug 1886548] Re: setcifsacl: fix adding ACE when owner sid in unexpected location

Łukasz Zemczak 1886548 at bugs.launchpad.net
Thu Jul 9 09:35:22 UTC 2020


Hello Rakesh, or anyone else affected,

Accepted cifs-utils into bionic-proposed. The package will build now and
be available at https://launchpad.net/ubuntu/+source/cifs-
utils/2:6.8-1ubuntu1 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: cifs-utils (Ubuntu Bionic)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cifs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1886548

Title:
  setcifsacl: fix adding ACE when owner sid in unexpected location

Status in cifs-utils package in Ubuntu:
  Fix Released
Status in cifs-utils source package in Bionic:
  Fix Committed
Status in cifs-utils source package in Focal:
  Fix Released
Status in cifs-utils source package in Groovy:
  Fix Released

Bug description:
  For Bionic release, current cifs-utils package version is 6.8-1. This
  version is missing an ACL tools fix that is needed for Azure xSMB.

  Commit in question which needs to be backported:
  0feb1a80f3777f4c244b46958aa9f730de9e18b6 setcifsacl: fix adding ACE
  when owner sid in unexpected location

  [Impact]

   * The bug shows up with mounted cifs/smb filesystem, when a user
  tries to modify the DACL for the files/directories in the mount. If
  the owner/group ACEs do not appear first in the DACL (happens quite
  easily with Azure file shares). The setcifsacl command in cifs-utils
  fails in that case:

  $ setcifsacl -a ‘ACL:MYDOMAIN\domuser:DENIED/0x0/FULL’ /mnt/test/abc
  main: setxattr error: Invalid argument

   * With the fix available in commit
  0feb1a80f3777f4c244b46958aa9f730de9e18b6, the above error is not
  returned, and the command works.

  [Regression potential]

  The fix has been created by Microsoft and approved by cifs-utils
  upstream maintainers.

  The fix has been tested in ubuntu (a test package I have built in a
  ppa) pre-SRU by Microsoft/Azure themselves, and they confirm
  everything is working as expected with this fix using the test case
  above.

  The fix is found in Ubuntu with Eoan and onwards.

  [Other information]

  # Upstream commit:
  https://git.samba.org/?p=cifs-utils.git;a=commit;h=0feb1a80f3777f4c244b46958aa9f730de9e18b6

  # git describe --contains 0feb1a80f3777f4c244b46958aa9f730de9e18b6
  cifs-utils-6.9~14

  # rmadison
   => cifs-utils | 2:6.8-1       | bionic
   cifs-utils    | 2:6.9-1          | focal
   cifs-utils    | 2:6.10-0ubuntu1  | groovy          |

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cifs-utils/+bug/1886548/+subscriptions



More information about the foundations-bugs mailing list