[Samba] chdir_current_service: vfs_ChDir(/srv/samba/users) failed: Permission denied.
L.P.H. van Belle
belle at bazuin.nl
Mon Nov 29 09:52:41 UTC 2021
A full output of the created structure would be nice
and helps to explain that.
For all the used folders a getfacl should tell sufficent.
getfacl /srv
getfacl /srv/samba
getfacl /srv/samba/users
getfacl /srv/samba/users/username
But i suspect "SYSTEM" is missing somewhere.
And/Or did you change the Share Rights in Windows.
Because, if you do that, AFTER users are created,
it can mess up already existing folders and there rights.
I work in this order.
1) install samba.
2) create the folders in /srv/samba and setup the shares.
3) setup the share and folder fights.
4) create users and set user home and profiles
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> spindles seven via samba
> Verzonden: zondag 28 november 2021 0:41
> Aan: samba at lists.samba.org
> CC: 'Patrick Goetz'
> Onderwerp: Re: [Samba] chdir_current_service:
> vfs_ChDir(/srv/samba/users) failed: Permission denied.
>
> 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
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list