[Samba] Cannnot create chroot on a cifs-mounted linux homedir -- missing dev/exec

Rowland Penny rpenny at samba.org
Tue Jan 10 15:45:37 UTC 2023



On 10/01/2023 15:23, Manfred Braun via samba wrote:
> 
> Hi,
>   
> naturally, not.  The required debootstrap setup will
> be done as root, user will use ist via 'schroot' then.
> But debootstrap will add a device-file, which is not
> possible if mount properties EXEC DEV are missing.
>   
> 

I am not sure you understand Samba.

Samba is an implementation of the Windows SMB protocol, which allows you 
to share files between computers.

You can create a share on a Unix machine, then other Samba and Windows 
machines can connect to the share and create/read/write/delete files and 
directories (provided they are known to Samba and have the required 
permissions). That is it, if you need to mount the share on another 
machine, then Samba takes no part in this, other than making the share 
available.

If your share is getting mounted without 'dev' or 'exec', this has 
nothing to do with Samba and all to do with whatever program is mounting 
the share, 'mount' or its variant 'mount.cifs' or something else.

Rowland




More information about the samba mailing list