Skip to content
Commit 77d8aa79 authored by Takayuki Nagata's avatar Takayuki Nagata Committed by Steve French
Browse files

cifs: reinstate original behavior again for forceuid/forcegid



forceuid/forcegid should be enabled by default when uid=/gid= options are
specified, but commit 24e0a1ef ("cifs: switch to new mount api")
changed the behavior. Due to the change, a mounted share does not show
intentional uid/gid for files and directories even though uid=/gid=
options are specified since forceuid/forcegid are not enabled.

This patch reinstates original behavior that overrides uid/gid with
specified uid/gid by the options.

Fixes: 24e0a1ef ("cifs: switch to new mount api")
Signed-off-by: default avatarTakayuki Nagata <tnagata@redhat.com>
Acked-by: default avatarPaulo Alcantara (Red Hat) <pc@manguebit.com>
Acked-by: default avatarRonnie Sahlberg <lsahlber@redhat.com>
Acked-by: default avatarTom Talpey <tom@talpey.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
parent 18d86965
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment