You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Access to the SMB share is not restricted per gid:
[admin@mgmt01 fsx]$ k exec -it smb-test -n dev -- bash
groups: cannot find name for group ID 1114200513
groups: cannot find name for group ID 1114304631
I have no name!@smb-test:/$ id
uid=1114301531 gid=1114200513 groups=1114200513,1114304631
I have no name!@smb-test:/$ cd /ClincPharm/
I have no name!@smb-test:/ClincPharm$ ls -la
total 0
drwxrwx--- 2 root 1114304632 0 Oct 2 19:36 .
drwxr-xr-x 1 root root 47 Oct 17 10:25 ..
drwxrwx--- 2 root 1114304632 0 Oct 2 19:34 Restricted
I have no name!@smb-test:/ClincPharm$ cd Restricted/
I have no name!@smb-test:/ClincPharm/Restricted$ touch file.txt
I have no name!@smb-test:/ClincPharm/Restricted$ ls -la
total 0
drwxrwx--- 2 root 1114304632 0 Oct 17 10:38 .
drwxrwx--- 2 root 1114304632 0 Oct 2 19:36 ..
-rwxrwx--- 1 root 1114304632 0 Oct 17 10:38 file.txt
What you expected to happen:
Mount options gid and forcegid to work by restricting access only to users in the gid. In this case the user should have been denied access to the share.
What happened:
Access to the SMB share is not restricted per gid:
What you expected to happen:
Mount options gid and forcegid to work by restricting access only to users in the gid. In this case the user should have been denied access to the share.
How to reproduce it:
Anything else we need to know?:
The share itself is restricted to the group and the account used in PV (smbcreds) is a member of the group.
Environment:
The text was updated successfully, but these errors were encountered: