[Samba] chdir_current_service: vfs_ChDir(/srv/samba/users) failed: Permission denied.

spindles seven spindles7 at gmail.com
Sat Nov 27 23:40:54 UTC 2021


On 27 November 2021 20:05 Ralph Boehme wrote:
> On 11/27/21 18:27, Patrick Goetz via samba wrote:
> > Sure, but Samba, which runs are root,
> 
> smbd does not run as root when executing SMB requests, it impersonates
> the user UNIX token while doing this.
> 
OK, that explains why one of my Domain Computers got permission denied, but that raises the other question - why then is a normal user able to access his/her files which live in /srv/samba/users/<username> without any problem?      The permissions on /srv/samba (before I added the "x") was rwxrwx--- : root and Domain Admins only have access.     So Domain Users were able to traverse the hierarchy but not Domain Computers.    Why?

Thanks,

Roy




More information about the samba mailing list