Set primary group of file or directory on Samba share from Windows
- by Hubert Kario
Short version:
I have such situation on a Samba share:
$ ls -lha
total 12K
drwxr-xr-x 3 hka Domain Users 4.0K Jan 11 17:07 .
drwxrwxrwt 19 root root 4.0K Jan 11 17:06 ..
drwxr-xr-x 2 hka Domain Users 4.0K Jan 11 17:07 dir A
-rw-r--r-- 1 hka Domain Users 0 Jan 11 17:07 file A
How am I able to change this to following using only…