X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <470D8CFE.7040503@cygwin.com> Date: Wed, 10 Oct 2007 22:39:58 -0400 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20070505 Remi/2.0.0.0-3.fc4.remi Thunderbird/2.0.0.0 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: File permissions... Mounting... References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Eric Uratchko wrote: > Never a dull moment, that's what I'll say right now. > > Hokay ... So.. I'm in a test environment. Security is not an issue. > Permissions could very well be root to everything without passwords and > that would be fine, in fact that would make my life easier. But. Since > that isn't the case... > > Administrator AT nasspec01 / > $ ls > Cygwin.bat bin data home mnt tmp var > Cygwin.ico cygdrive etc lib proc usr > > Administrator AT nasspec01 / > $ umount /data > umount: /data: No such file or directory > > Administrator AT nasspec01 / > $ mount y:/ /data > > **OK-- that worked** > > Administrator AT nasspec01 / > $ cd data > -bash: cd: data: No such file or directory > > Hmmm.... > > Administrator AT nasspec01 / > $ ls -la > ls: cannot access data: No such file or directory > total 9 > drwxrwxrwx+ 13 Administrator Users 0 Oct 10 16:35 . > drwxrwxrwx+ 13 Administrator Users 0 Oct 10 16:35 .. > -rwxrwxrwx+ 1 Administrator Users 57 Oct 10 15:56 Cygwin.bat > -rwxrwxrwx+ 1 Administrator Users 7022 Oct 9 15:57 Cygwin.ico > drwxrwxrwx+ 2 Administrator Users 0 Sep 30 21:10 bin > dr-xr-xr-x 1 0 root 0 Dec 31 1969 cygdrive > ??????????? ? ? ? ? ? data > drwxrwxrwx+ 15 Administrator Users 0 Oct 10 16:32 etc > drwxrwxrwx+ 4 Administrator None 0 Oct 9 23:53 home > drwxrwxrwx+ 22 Administrator Users 0 Sep 30 21:06 lib > drwxr-xr-x+ 2 Administrator None 0 Oct 9 16:43 mnt > dr-xr-xr-x 1 Administrator None 0 Oct 10 17:03 proc > drwxrwxrwt+ 2 Administrator Users 0 Oct 10 16:58 tmp > drwxrwxrwx+ 15 Administrator Users 0 Sep 30 21:04 usr > drwxrwxrwx+ 9 Administrator Users 0 Oct 2 10:51 var > > Administrator AT nasspec01 / > > /etc/group: > SYSTEM:S-1-5-18:18: > None:S-1-5-21-3051897544-968269257-830293299-513:513: > Administrators:S-1-5-32-544:544: > Backup Operators:S-1-5-32-551:551: > Distributed COM Users:S-1-5-32-562:562: > Guests:S-1-5-32-546:546: > Network Configuration Operators:S-1-5-32-556:556: > Performance Log Users:S-1-5-32-559:559: > Performance Monitor Users:S-1-5-32-558:558: > Power Users:S-1-5-32-547:547: > Print Operators:S-1-5-32-550:550: > Remote Desktop Users:S-1-5-32-555:555: > Replicator:S-1-5-32-552:552: > Users:S-1-5-32-545:545: > HelpServicesGroup:S-1-5-21-3051897544-968269257-830293299-1000:1000: > TelnetClients:S-1-5-21-3051897544-968269257-830293299-1002:1002: > > /etc/passwd: > SYSTEM:*:18:544:,S-1-5-18:: > Administrators:*:544:544:,S-1-5-32-544:: > Administrator:unused_by_nt/2000/xp:500:513:U-NASSPEC01\Administrator,S-1 > -5-21-30 > 51897544-968269257-830293299-500:/home/Administrator:/bin/bash > Guest:unused_by_nt/2000/xp:501:513:U-NASSPEC01\Guest,S-1-5-21-3051897544 > -9682692 > 57-830293299-501:/home/Guest:/bin/bash > sshd_server:unused_by_nt/2000/xp:1003:513:sshd server > account,U-NASSPEC01\sshd_s > erver,S-1-5-21-3051897544-968269257-830293299-1003:/var/empty:/bin/bash > SUPPORT_388945a0:unused_by_nt/2000/xp:1001:513:CN=Microsoft > Corporation,L=Redmon > d,S=Washington,C=US,U-NASSPEC01\SUPPORT_388945a0,S-1-5-21-3051897544-968 > 269257-8 > 30293299-1001:/home/SUPPORT_388945a0:/bin/bash > > I've been having at this for two days now, researching, reading, > reading, reading, and I'm not making progress. Thus I'm finally sending > this out to you knowledeable folks with the hope that someone will be > like "Oh, geeze. You dummy. Do this, this this, done." > > I've got access to every side of things. Noone else uses the machines. > Security comes in the form of locked doors and guards. :) > > Also I will note that /data was made inside cygwin. You forgot: > Problem reports: http://cygwin.com/problems.html My guess is that 'Y:' is a network drive that requires authentication to access. It's apparently owned by a domain user not in your '/etc/passwd' file, which accounts for the '???' stuff. But things would be clearer if we knew more about your installation and configuration (thus the pointer to the problem reports guidelines above. ;-) ) -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- 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/