New files and directories on server are getting set to nobody and nogroup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cifs-utils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Files and directories on SMB server are getting set to nobody and nogroup when created on client system. Creating directory and files via smbclient works. Windows and MacOS have no issues and sets the uid and gid of new files and directories as the current user. I can not get CIFS to work this same way for some reason and I have searched everywhere for a solution. I'm not sure if this is a bug or just me being stupid and missing something.
fstab entry:
//tb-vubuntuweb/www /home/david/
Mount command:
mount.cifs //tb-vubuntuweb/www /home/david/
System info:
Description: Ubuntu 20.10
Release: 20.10
cifs-utils:
Installed: 2:6.11-0ubuntu1
Candidate: 2:6.11-0ubuntu1
Version table:
*** 2:6.11-0ubuntu1 500
500 http://
100 /var/lib/