This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project. See the Cygwin home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

Re: Cygwin symbolic links on a SAMBA server



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 <khan@xraylith.wisc.EDU>
To: cygwin@sourceware.cygnus.com <cygwin@sourceware.cygnus.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@sourceware.cygnus.com