[Samba] Re: Avoiding the desktop.ini notepad popup on startup, and

Roger McCoy rmccoy at answerdirect.net
Sat Nov 5 04:45:18 GMT 2005


> -----Original Message-----
> From: Tomasz Chmielewski [mailto:mangoo at wpkg.org]
> Sent: Tuesday, November 01, 2005 10:24 AM
> To: Eric A. Hall
> Cc: samba at lists.samba.org
> Subject: Re: [Samba] Re: Avoiding the desktop.ini notepad popup on
> startup, and
>
>
> Eric A. Hall schrieb:
> > On 11/1/2005 6:05 AM, Tomasz Chmielewski wrote:
> >
> >
> >>why the problem only exists with Samba domain controllers, and not with
> >>Microsoft domain controllers - remains a mystery for me
> (perhaps someone
> >>from Samba team could comment on this)?
> >
> >
> > *NIX doesn't have a concept of hidden files. Files created as
> such aren't
> > stored that way, and Samba doesn't have an external map of individual
> > files and their DOS attributes.
> >
> > You have to flag the filename pattern as hidden to Samba, then it will
> > return the appropriate attribute whenever the filename is encountered
>
> and how do you do it?
>
> I thought using a filesystem with acls enabled would help, but obviously
> it didn't :)
>
> so you say there is a smb.conf config with which one could mark
> desktop.ini files as hidden?

Separate filesystem feature: What you need is extended attributes.  Assuming
you have support built-in to your system, modify fstab to look something
like:

	LABEL=/	/	ext3	defaults,acl,user_xattr    1 1

Then just run:

	mount -o -v remount /

and you should be all set.

> --
> Tomek
> http://wpkg.org
> WPKG - software deployment and upgrades with Samba
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>
>


---
Roger McCoy



More information about the samba mailing list