X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
To: cygwin@cygwin.com
From: "Matt Seitz" <matseitz@cisco.com>
Subject:  Re: CIFS symlinks on network share break Cygwin
Date:  Wed, 6 Feb 2008 16:21:53 -0800
Lines: 37
Message-ID: <foditk$f9a$1@ger.gmane.org>
References:  <E173C70E3D81F74188D2778B96C5CD0D011B4A73@postal1-dog.naughtydog.com> <20080204150853.GD5866@calimero.vinschen.de> <E173C70E3D81F74188D2778B96C5CD0D011B4AE2@postal1-dog.naughtydog.com> <20080204205620.GA2720@ednor.casa.cgf.cx> <E173C70E3D81F74188D2778B96C5CD0D011B4B5C@postal1-dog.naughtydog.com> <E173C70E3D81F74188D2778B96C5CD0D011B4BD0@postal1-dog.naughtydog.com> <02fb01c86795$9aeb5080$2e08a8c0@CAM.ARTIMI.COM> <20080205133450.GB307@calimero.vinschen.de> <032c01c867fd$c573da30$2e08a8c0@CAM.ARTIMI.COM> <20080205142712.GA840@calimero.vinschen.de> <03a301c86835$1a571850$2e08a8c0@CAM.ARTIMI.COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com


"Dave Korn" <dave.korn@artimi.com> wrote in message 
news:03a301c86835$1a571850$2e08a8c0@CAM.ARTIMI.COM...
>
>  Oops, pardon.  I thought I had posted this yesterday but now I see it's just
> lying around my drafts folder.  My win32 "T:" drive is a netapp share (CIFS
> with NFS perms)
> and /win/t is a mountpoint to it (system, binmode, noexec)
> that I use as shorthand for /cygdrive notation.
>
> /win/t/netapp $ chmod a+rwx foo.bar
> /win/t/netapp $ ls -la
> total 0
> drwxr-xr-x 1 dk Domain Users 0 Feb  4 15:23 .
> drwxr-xr-x 1 dk Domain Users 0 Jan  1  1970 ..
> -rw-r--r-- 1 dk Domain Users 0 Feb  4 15:23 foo.bar
> /win/t/netapp $
>
>
>  So, can't chmod easily.  Umask appears at first glance to be respected when
> creating files:

I'm assuming you mean "T: maps to a CIFS share that points to a volume or QTree 
that is configured with the UNIX security model".  If that is the case, NetApp 
will not allow you to change file permissions.  Configuring a volume or QTree to 
use the UNIX security model means that only NFS clients are allowed to change 
security permissions.  If you want to be able to change permissions, you need to 
set the security model to either "Mixed" (both CIFS and NFS can change 
permissions) or "NTFS" (CIFS can change permissions, NFS can't).

Actually, as another poster mentioned, there is another option.  NetApp provides 
a special Windows Explorer shell extension called "SecureShare".  This extension 
allows CIFS clients to change permissions on UNIX security model volumes and 
QTrees.  If cygwin could hook into that mechanism, it could change permissions 
on UNIX security model volumes and QTrees.




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

