]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
afs: Adjust mode bits processing
authorMarc Dionne <marc.dionne@auristor.com>
Thu, 16 Mar 2017 16:27:44 +0000 (16:27 +0000)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Tue, 13 Mar 2018 10:28:13 +0000 (11:28 +0100)
commitb9d4224fd9e0a601c2196597955835831b86d0e8
treee078c5ddc09211c9f68dbcf611cc2199e1b7a9bc
parentff17c957e4a3daef499f5145194fa5ec592eaafe
afs: Adjust mode bits processing

BugLink: http://bugs.launchpad.net/bugs/1745052
[ Upstream commit 627f46943ff90bcc32ddeb675d881c043c6fa2ae ]

Mode bits for an afs file should not be enforced in the usual
way.

For files, the absence of user bits can restrict file access
with respect to what is granted by the server.

These bits apply regardless of the owner or the current uid; the
rest of the mode bits (group, other) are ignored.

Signed-off-by: Marc Dionne <marc.dionne@auristor.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: Stefan Bader <stefan.bader@canonical.com>
fs/afs/security.c