Score:0

CIFS mount not on showing correct owner

gl flag

I have a CIFS mount on Ubuntu 20.04.6 LTS. getcifsacl shows the correct domain user as owner but not getfacl shows unix root user as owner. Not sure what i am missing.

wbinfo -t

wbinfo -n

wbinfo -S give same id as frim "id "

smbclient -L $HOSTNAME -U $domain_admin%$domain_passwd -d 3, works fine

This is an issue since application running wil check user permisison based on getfacl.

Adding comment:

I was able to fix the mount and permission on Virtual Machine but same is not working on pod..

mount.cifs -o nofail,cifsacl,user=,pass=,dom=,dir_mode=0777,file_mode=0777,serverino,nosharesock,actimeo=30

This works on Virtual Machine but not on Pod. provided capabilities - SYS_ADMIN - DAC_READ_SEARCH - CAP_SETGID - CAP_SETUID Tested on Ubuntu and RHEL

Marco avatar
br flag
What are the mount options of your cifs-mount ? To make "Windows-SMB" permission "Posix" compatible there is a lot of configuration needed.
Mohit Sajwan avatar
gl flag
Hi All, I was able to fix the mount and permission on Virtual Machine but same is not working on pod..
Marco avatar
br flag
If you do not provide us details (edit your question), we can not help you.
Mohit Sajwan avatar
gl flag
mount.cifs <mount source using SMB protocol> <target on pod> -o nofail,cifsacl,user=<username>,pass=<password>,dom=<domain>,dir_mode=0777,file_mode=0777,serverino,nosharesock,actimeo=30 This works on Virtual Machine but not on Pod. provided capabilities - SYS_ADMIN - DAC_READ_SEARCH - CAP_SETGID - CAP_SETUID
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.