[Samba] Question about executable permissions with samba

Josh Kelley joshkel at gmail.com
Thu Jan 26 22:09:15 GMT 2006

On 1/25/06, Harshal Dharia <harshal.dharia at 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

More information about the samba mailing list