Mail Archives: cygwin/2010/10/05/18:40:31
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=1.4 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,TW_RW,TW_WX,TW_XR,T_RP_MATCHES_RCVD
|
X-Spam-Check-By: | sourceware.org
|
From: | "Andy Hall" <fixpertise-consulting AT comcast DOT net>
|
To: | <cygwin AT cygwin DOT com>
|
Subject: | In what way is /cygdrive special WRT to permissions?
|
Date: | Tue, 5 Oct 2010 15:40:06 -0700
|
Message-ID: | <9872BD92701C494686D002F1620610D0@ahallpc>
|
MIME-Version: | 1.0
|
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
|
I have a vanilla 1.7.7 installation on Windows XP Professional which is a
standalone machine not in a domain. The /etc/passwd and /etc/group files
have been refreshed from scratch.
The system has a remote file system (Samba) mounted as F: via the normal
Windows mechanism for mapping network drives.
With the default /etc/fstab file which has no specific mounts, the
mount command shows
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
F: on /cygdrive/f type smbfs (binary,posix=0,user,noumount,auto)
and ls -l of /cygdrive/f shows
$ ls -l /cygdrive/f
total 2048
drwxrwxr-x 36 ???????? ???????? 0 2010-10-04 16:30 builds
drwxrwxr-x 17 ???????? ???????? 0 2010-10-04 15:23 releases
If instead, I map F: to /cygdrive/c with the following entry in /etc/fstab
F: /cygdrive/f smbfs binary,noacl 0 0
mount shows
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
F: on /cygdrive/f type smbfs (binary,noacl)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
And ls -l of /cygdrive/f shows
$ ls -l /cygdrive/f
total 2048
drwxrwxr-x 36 ???????? ???????? 0 2010-10-04 16:30 builds
drwxrwxr-x 17 ???????? ???????? 0 2010-10-04 15:23 releases
If instead I now map F: to /repos1 via the following in /etc/fstab
F: /repos1 smbfs binary,noacl 0 0
Mount shows
$ mount
C:/cygwin/bin on /usr/bin type ntfs (binary,auto)
C:/cygwin/lib on /usr/lib type ntfs (binary,auto)
C:/cygwin on / type ntfs (binary,auto)
F: on /repos1 type smbfs (binary,noacl)
C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
And ls -l of repos1 shows
$ ls -l /repos1
total 2048
drwxr-xr-x 36 ahall None 0 2010-10-04 16:30 builds
drwxr-xr-x 17 ahall None 0 2010-10-04 15:23 releases
Why am I getting -1 for the uid and gid when I mount to /cygdrive/f but not
to /repos1?
Andy
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -