delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/10/10/20:48:44

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Subject: File permissions... Mounting...
Date: Wed, 10 Oct 2007 17:48:05 -0700
Message-ID: <A1E46867FD0F4B47A821D626D858F3CF188FE5@RWCEXC01.HQ.DeCru.com>
In-Reply-To: <1192061086.10320.ezmlm@cygwin.com>
From: "Eric Uratchko" <ericu AT decru DOT com>
To: <cygwin AT cygwin DOT com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id l9B0mWCi005761

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.

Sincerely,
Eric Uratchko

--
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