X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: "Matt Seitz" Subject: Re: CIFS symlinks on network share break Cygwin Date: Wed, 6 Feb 2008 16:21:53 -0800 Lines: 37 Message-ID: References: <20080204150853 DOT GD5866 AT calimero DOT vinschen DOT de> <20080204205620 DOT GA2720 AT ednor DOT casa DOT cgf DOT cx> <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: List-Subscribe: List-Archive: List-Post: List-Help: , 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" 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/