Matthias Kühne | Ellerhold Aktiengesellschaft
2025-Jan-22 11:25 UTC
[Samba] Regarding Samba Shares
Hello, changing the permissions on the underlying filesystem leads to an immediate change. Hope this helps! Am 22.01.25 um 12:15 schrieb Ralph Boehme via samba:> Hi Srikanth, > > On 1/22/25 11:52 AM, ., Srikanth N S via samba wrote: >> Could you please let us know if this is an expected behavior? Or do >> we have to make any configuration changes to reflect the changes to >> share permissions immediately on the SMB clients. > > iirc that is just current behaviour. We call check_user_share_access() > only from make_connection_snum() and never update it later. > > Changing this requires some changes to our reload-config handlers. > > -slow > >-- Senior Webentwickler Datenschutzbeauftragter Ellerhold Aktiengesellschaft Friedrich-List-Str. 4 01445 Radebeul Telefon: +49 (0) 351 83933-61 Web: www.ellerhold.de Facebook: www.facebook.com/ellerhold.gruppe Instagram: www.instagram.com/ellerhold.gruppe LinkedIn: www.linkedin.com/company/ellerhold-gruppe Amtsgericht Dresden / HRB 23769 Vorstand: Stephan Ellerhold, Maximilian Ellerhold Vorsitzender des Aufsichtsrates: Frank Ellerhold ---Diese E-Mail und Ihre Anlagen enthalten vertrauliche Mitteilungen. Sollten Sie nicht der beabsichtigte Adressat sein, so bitten wir Sie um Mitteilung und um sofortiges l?schen dieser E-Mail und der Anlagen. Unsere Hinweise zum Datenschutz finden Sie hier: http://www.ellerhold.de/datenschutz/ This e-mail and its attachments are privileged and confidential. If you are not the intended recipient, please notify us and immediately delete this e-mail and its attachments. You can find our privacy policy here: http://www.ellerhold.de/datenschutz/
Thanks for the replies. We were referring to changing the Samba share configuration. For eg in the below-mentioned share configuration [share1] path = /mnt/share1 read only = no writable = no map readonly = yes If we change writable to ?yes? then it does not get reflected immediately. Similarly for eg in case of dynamic share if we change the permission using ?net usershare add share2 /mnt/share2 "test share" test_user:F? then it does not get reflected immediately. As mentioned earlier we had to disconnect and connect the network drive corresponding to Samba share for the change in permission to get reflected. It seems like this is an expected behavior. Thanks & Regards, Srikanth NS From: samba <samba-bounces at lists.samba.org> on behalf of Matthias K?hne | Ellerhold Aktiengesellschaft via samba <samba at lists.samba.org> Date: Wednesday, 22 January 2025 at 4:56?PM To: samba at lists.samba.org <samba at lists.samba.org> Subject: Re: [Samba] Regarding Samba Shares Hello, changing the permissions on the underlying filesystem leads to an immediate change. Hope this helps! Am 22.01.25 um 12:15 schrieb Ralph Boehme via samba:> Hi Srikanth, > > On 1/22/25 11:52 AM, ., Srikanth N S via samba wrote: >> Could you please let us know if this is an expected behavior? Or do >> we have to make any configuration changes to reflect the changes to >> share permissions immediately on the SMB clients. > > iirc that is just current behaviour. We call check_user_share_access() > only from make_connection_snum() and never update it later. > > Changing this requires some changes to our reload-config handlers. > > -slow > >-- Senior Webentwickler Datenschutzbeauftragter Ellerhold Aktiengesellschaft Friedrich-List-Str. 4 01445 Radebeul Telefon: +49 (0) 351 83933-61 Web: https://urldefense.com/v3/__http://www.ellerhold.de__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXQP39rIV$<https://urldefense.com/v3/__http:/www.ellerhold.de__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXQP39rIV$> Facebook: https://urldefense.com/v3/__http://www.facebook.com/ellerhold.gruppe__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXa8yqytc$<https://urldefense.com/v3/__http:/www.facebook.com/ellerhold.gruppe__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXa8yqytc$> Instagram: https://urldefense.com/v3/__http://www.instagram.com/ellerhold.gruppe__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXa5WvbF6$<https://urldefense.com/v3/__http:/www.instagram.com/ellerhold.gruppe__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXa5WvbF6$> LinkedIn: https://urldefense.com/v3/__http://www.linkedin.com/company/ellerhold-gruppe__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXeAOezty$<https://urldefense.com/v3/__http:/www.linkedin.com/company/ellerhold-gruppe__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXeAOezty$> Amtsgericht Dresden / HRB 23769 Vorstand: Stephan Ellerhold, Maximilian Ellerhold Vorsitzender des Aufsichtsrates: Frank Ellerhold ---Diese E-Mail und Ihre Anlagen enthalten vertrauliche Mitteilungen. Sollten Sie nicht der beabsichtigte Adressat sein, so bitten wir Sie um Mitteilung und um sofortiges l?schen dieser E-Mail und der Anlagen. Unsere Hinweise zum Datenschutz finden Sie hier: https://urldefense.com/v3/__http://www.ellerhold.de/datenschutz/__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXZWMYXaj$<https://urldefense.com/v3/__http:/www.ellerhold.de/datenschutz/__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXZWMYXaj$> This e-mail and its attachments are privileged and confidential. If you are not the intended recipient, please notify us and immediately delete this e-mail and its attachments. You can find our privacy policy here: https://urldefense.com/v3/__http://www.ellerhold.de/datenschutz/__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXZWMYXaj$<https://urldefense.com/v3/__http:/www.ellerhold.de/datenschutz/__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXZWMYXaj$> -- To unsubscribe from this list go to the following URL and read the instructions: https://urldefense.com/v3/__https://lists.samba.org/mailman/options/samba__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXe9k-HEk$<https://urldefense.com/v3/__https:/lists.samba.org/mailman/options/samba__;!!NpxR!hH6tjHGRWfWF5VWDBWsoAqw9L_TW6CLY_HYAelOmjWkhO5f9a6w9hMSNjzru6gk2l0z5y0IushH6Ynlo8g2pB6MUXe9k-HEk$>