Harshal Dharia
2006-Jan-26 16:52 UTC
[Samba] Question about executable permissions with samba
I have a setup where i am using samba to access my linux box through windows, to edit scripts and stuff. But say if a script as executable permissions for all when i open it in windows through samba, on saving it the prior permissions are overwritten by samba's default permission. Is there a way to tell samba to keep the file prior permission. Harshal Dharia
Josh Kelley
2006-Jan-26 22:09 UTC
[Samba] Question about executable permissions with samba
On 1/25/06, Harshal Dharia <harshal.dharia@jdsu.com> wrote:> I have a setup where i am using samba to access my linux box through > windows, to edit scripts and stuff. But say if a script as executable > permissions for all when i open it in windows through samba, on saving it > the prior permissions are overwritten by samba's default permission. Is > there a way to tell samba to keep the file prior permission.By default, Samba uses the executable flags to store DOS attributes. To change this, see the "map hidden", "map system", "map archive", and "store dos attributes" options in smb.conf. Josh Kelley