webman at manfbraun.de
2023-Jan-10 15:23 UTC
[Samba] Cannnot create chroot on a cifs-mounted linux homedir -- missing dev/exec
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. Manfred ----- Original Message ----- From: lists--- via samba [mailto:samba at lists.samba.org] To: <samba at lists.samba.org> Sent: Tue, 10 Jan 2023 10:36:51 +0100 Subject: Re: [Samba] Cannnot create chroot on a cifs-mounted linux homedir -- missing dev/exec Hello, Hallo, ;) Am 10.01.2023 um 08:37 schrieb Manfred Braun via samba: > Hallo! [...] > vers=1.0,...,username=mbu1-smb1,... [...] > valid users = root,mbu-smb1 > write list = root,mbu-smb1 ...maybe it works fine, but user "mbu1-smb1" is just not permitted to do anything ...? Torsten -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba
Rowland Penny
2023-Jan-10 15:45 UTC
[Samba] Cannnot create chroot on a cifs-mounted linux homedir -- missing dev/exec
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