france
(Francesco)
July 12, 2025, 3:56pm
1
Neth server 8
Hi , I viewing in the structure shares of samba AD , exactly in _data folder , the permission are samba1:samba1 , but in the subfolder the numeric id group not exist !??!
this is a listing of shares folder permission
[root@ns8 shares]# ls -l
total 0
drwxr-xr-x. 4 samba1 samba1 33 Feb 28 2024 _data
[root@ns8 shares]# cd _data/
[root@ns8 _data]# ls
pub transito
[root@ns8 _data]# ls -l
total 8
drwxrwxr-x. 5 samba1 296707 87 Mar 8 12:30 pub
drwxrwxr-x. 2 samba1 296707 95 Apr 16 09:16 transito
[root@ns8 _data]#
mrmarkuz
(Markus Neuberger)
July 12, 2025, 9:06pm
2
The users group does exist in the container but not on the host, therefore you just see the gid.
To run ls
in the container:
[root@ns8rockytest ~]# runagent -m samba1 podman exec samba-dc ls -l /srv/shares
total 12
drwxrwxr-x. 4 root users 113 May 24 21:22 testfolder
drwxrwxr-x. 2 root users 6 Mar 6 09:30 testshare
france
(Francesco)
July 13, 2025, 9:10am
3
hi Markus !
This is a response :
runagent -m samba1 podman exec samba-dc ls -l /srv/shares
total 12
total 8
drwxrwxr-x. 5 root users 87 Mar 8 11:30 pub
drwxrwxr-x. 2 root users 95 Apr 16 07:16 transito
1 Like
france
(Francesco)
July 13, 2025, 12:08pm
4
thank , the unknown id is present because I m run the command from rocky linux Os and not from container ?
1 Like
mrmarkuz
(Markus Neuberger)
July 13, 2025, 12:24pm
5
Yes, on the rocky host the group “users” isn’t known:
[root@ns8rockytest ~]# runagent -m samba1 podman exec samba-dc id users
uid=1029(NS8TEST\users) gid=1029(NS8TEST\users) groups=1029(NS8TEST\users)
[root@ns8rockytest ~]# id users
id: ‘users’: no such user
1 Like
france
(Francesco)
July 13, 2025, 1:54pm
6
In fact I imagine, I had proceeded with group number id … answer unknown .
Thank mark
1 Like