Problem storing dos attributes

Jeremy Allison jra at samba.org
Tue Aug 3 17:21:21 GMT 2004


On Tue, Aug 03, 2004 at 06:10:41PM +0200, Beschorner Daniel wrote:
> Since we use Samba 3.0.5 on Linux 2.6 with xattr and acl on ext3 I'm no
> longer able to set file attributes.
> 
> While reading the attributes Samba honours 
> 
> 	ea support = No /	store dos attributes = No
> 
> and maps the unix permissions to attributes as I want it.
> 
> But regardless of the settings above Samba always stores the attributes in
> the extended attributes.
> 
> For consistency I helped me with this:
> 
> 
> --- dosmode.c.orig      2004-04-04 09:37:31.000000000 +0200
> +++ dosmode.c   2004-08-03 16:08:19.328216160 +0200
> @@ -224,6 +224,10 @@
>         files_struct *fsp = NULL;
>         BOOL ret = False;
> 
> +       if (!lp_store_dos_attributes(SNUM(conn))) {
> +                return False;
> +        }
> +

This patch is already in the SVN version of the Samba3.0
code base and will be in 3.0.6.

Thanks,

	Jeremy.


More information about the samba-technical mailing list