Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-ID: <000601be60d6$572912d0$080216c0@newt.san.rr.com> Reply-To: "Steve Biskis" From: "Steve Biskis" To: , "Mumit Khan" Subject: Re: Cygwin symbolic links on a SAMBA server Date: Thu, 25 Feb 1999 07:48:50 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Hello all, Yes, indeed, this post got me off my duff to do a little research. I found "SAMBA, Integrating UNIX and Windows" by John D. Blair. Uncovered the following info which is claimed to be current to version 1.9.18 (early patches). From page 191 --- Retaining the DOS Hidden, Archive and System Attributes: map archive Default: map archive = yes map hidden Default: map hidden = no map system Default map system = no So, to get the Cygnus symlink system attribute to translate accross SAMBA correctly one must set: map system = yes The section goes on to state that map archive, hidden and system use the UNIX user, group and other execute bits, respectively. The info below is slightly different, so I'll test it now and post the exact results. I apologize for the jumping the gun a bit. Thanks, Steve B. -----Original Message----- From: Mumit Khan To: cygwin AT sourceware DOT cygnus DOT com Date: Monday, February 22, 1999 2:54 PM Subject: Cygwin symbolic links on a SAMBA server >UWIN (and Cygwin) implements the symbolic links by adding a magic >cookie to the file and then setting the SYSTEM attribute (this is >possibly just for efficiency, at least in Cygwin). Samba servers >support this SYSTEM attribute by setting the group execute bit on a >file, so it does support the symbolic links already. Unfortunately, the >reason you don't see it is because it's turned OFF by default. > >If you need to have symbolic support in the server (which I do since I >do a lot of the work on mounted disks), you can turn it on by the >following in the Samba configuration file and then restarting it: > > mask system = yes > create mask = 0775 > >the "create mask" can be anything as long as you *DON'T* mask out the >group execute bit (ie., 010), which is what Samba server uses to >support the SYSTEM attribute. > >Please consult your SAMBA docs before doing anything. I don't know how >far back this support goes, but I remember it back in 1.9.x days. -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com