www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/02/06/19:22:19

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: "Matt Seitz" <matseitz AT cisco DOT 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 AT postal1-dog DOT naughtydog DOT com> <20080204150853 DOT GD5866 AT calimero DOT vinschen DOT de> <E173C70E3D81F74188D2778B96C5CD0D011B4AE2 AT postal1-dog DOT naughtydog DOT com> <20080204205620 DOT GA2720 AT ednor DOT casa DOT cgf DOT cx> <E173C70E3D81F74188D2778B96C5CD0D011B4B5C AT postal1-dog DOT naughtydog DOT com> <E173C70E3D81F74188D2778B96C5CD0D011B4BD0 AT postal1-dog DOT naughtydog DOT com> <02fb01c86795$9aeb5080$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20080205133450 DOT GB307 AT calimero DOT vinschen DOT de> <032c01c867fd$c573da30$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20080205142712 DOT GA840 AT calimero DOT vinschen DOT de> <03a301c86835$1a571850$2e08a8c0 AT CAM DOT ARTIMI DOT COM>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

"Dave Korn" <dave DOT korn AT artimi DOT com> wrote in message 
news:03a301c86835$1a571850$2e08a8c0 AT CAM DOT ARTIMI DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019