Louis van Belle
2005-Oct-12 14:44 UTC
FW: [Samba] how to hide add a System attribute to directory
Hi, Is it possible to add a System attribute to a folder. for example, i redirect My documents and my pictures. When you look at the icon of my pictures it not a default picture ( Look on the computer itsself ) I want this behavor also on my samba.. and for this i need the windows System attribut on a folder. my question is .. is this possible. Louis
Louis van Belle
2005-Oct-12 14:51 UTC
FW: [Samba] how to hide add a System attribute to directory
This is what im looking for. /snap Wed Nov 17 15:57:04 2004 UTC (10 months, 3 weeks ago) Believe it or not, but this patch seems to be necessary. If someone sets a folder icon in the start menu and saves the profile on a samba server, after logging in again this setting is gone. Why is this? The folder for which the icon is set must have the read only flag set. If it is not set, the desktop.ini file (the file containing the icon reference) inside that folder is ignored. lp_profile_acls is a hack for such a situation, so overload this parameter with another profile-related hack. Volker Author: vlendec Index: trunk/source/smbd/trans2.c from http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=3812 is this alread in the stable release of some samba version. Louis -----Oorspronkelijk bericht----- Van: samba-bounces+louis=van-belle.nl@lists.samba.org [mailto:samba-bounces+louis=van-belle.nl@lists.samba.org] Namens Louis van Belle Verzonden: woensdag 12 oktober 2005 16:43 Aan: samba@lists.samba.org Onderwerp: FW: [Samba] how to hide add a System attribute to directory Hi, Is it possible to add a System attribute to a folder. for example, i redirect My documents and my pictures. When you look at the icon of my pictures it not a default picture ( Look on the computer itsself ) I want this behavor also on my samba.. and for this i need the windows System attribut on a folder. my question is .. is this possible. Louis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Jeremy Allison
2005-Oct-12 15:42 UTC
FW: [Samba] how to hide add a System attribute to directory
On Wed, Oct 12, 2005 at 04:43:18PM +0200, Louis van Belle wrote:> Hi, > > Is it possible to add a System attribute to a folder. > > for example, i redirect My documents and my pictures. > > When you look at the icon of my pictures it not a default > picture ( Look on the computer itsself ) > > I want this behavor also on my samba.. > and for this i need the windows System attribut on a folder. > my question is .. is this possible.Same answer as before : map hidden = no map system = no map archive = no store dos attributes = yes ATTRIB +S <foldername>