delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4979C90C.1050201@gmail.com> |
Date: | Fri, 23 Jan 2009 14:41:32 +0100 |
From: | Matthieu Dubuget <matthieu DOT dubuget AT gmail DOT com> |
Reply-To: | matthieu DOT dubuget AT gmail DOT com |
User-Agent: | Thunderbird 2.0.0.19 (X11/20090105) |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Can't access some files (/tmp) |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id n0NDgu3V003833 |
Hello, I hope this is not a FAQ. But really, I could not find the answer in it, or maybe, I did not understand? I just re-installed cygwin on my computer. Before that, I did a complete un-installation (stopped and removed services, removed cygwin directory, removed entries in the registry, reboot). Then ran setup.exe as an unpriviledge user (it asked me if I wanted to switch to a prividege user, what I did before installation: computer's Administrator). I did an all default installation. Added a HOME environment in windows for me -> c:\cygwin\home\matt Ran cygwin.bat as Administrator. mkpassword -l -g -d > /etc/passwd mkgroup -l -d > /etc/group (the computer I'm using is part of a domain) Then ran cygwin.bat as matt -> bash.exe: warning: could not create /tmp! Ah ah. I have a problem of rights. I opened a session as Administrator: $ ls -l / total 9 -rwxr-x---+ 1 Administrateur Utilisateurs 57 Jan 23 12:46 Cygwin.bat -rwxr-x---+ 1 Administrateur Utilisateurs 7022 Jan 23 12:46 Cygwin.ico drwxrwx---+ 2 Administrateur Utilisateurs 0 Jan 23 12:46 bin dr-xr-xr-x 1 0 0 0 Jan 1 1970 cygdrive drwxrwx---+ 2 Administrateur Utilisateurs 0 Jan 23 12:46 dev drwxrwx---+ 8 Administrateur Utilisateurs 0 Jan 23 12:46 etc drwxrwxrwx+ 4 Administrateur Aucun 0 Jan 23 13:04 home drwxrwx---+ 5 Administrateur Utilisateurs 0 Jan 23 12:46 lib dr-xr-xr-x 1 Administrateur Aucun 0 Dec 1 2006 proc drwxrwxrwt+ 2 Administrateur Aucun 0 Jan 23 14:19 tmp drwxrwx---+ 11 Administrateur Utilisateurs 0 Jan 23 12:46 usr drwxrwx---+ 7 Administrateur Utilisateurs 0 Jan 23 12:46 var $ ls -ln / total 9 -rwxr-x---+ 1 500 545 57 Jan 23 12:46 Cygwin.bat -rwxr-x---+ 1 500 545 7022 Jan 23 12:46 Cygwin.ico drwxrwx---+ 2 500 545 0 Jan 23 12:46 bin dr-xr-xr-x 1 0 0 0 Jan 1 1970 cygdrive drwxrwx---+ 2 500 545 0 Jan 23 12:46 dev drwxrwx---+ 8 500 545 0 Jan 23 12:46 etc drwxrwxrwx+ 4 500 513 0 Jan 23 13:04 home drwxrwx---+ 5 500 545 0 Jan 23 12:46 lib dr-xr-xr-x 1 500 513 0 Dec 1 2006 proc drwxrwxrwt+ 2 500 513 0 Jan 23 14:19 tmp drwxrwx---+ 11 500 545 0 Jan 23 12:46 usr drwxrwx---+ 7 500 545 0 Jan 23 12:46 var Some french vocabulary: - Aucun means None (513) - Utilisateurs means Users (545) Then I opened another session as matt: $ ls -l / ls: ne peut accéder /tmp: No such file or directory total 9 -rwxr-x---+ 1 Administrateur Utilisateurs 57 Jan 23 12:46 Cygwin.bat -rwxr-x---+ 1 Administrateur Utilisateurs 7022 Jan 23 12:46 Cygwin.ico drwxrwx---+ 2 Administrateur Utilisateurs 0 Jan 23 12:46 bin dr-xr-xr-x 1 0 0 0 Jan 1 1970 cygdrive drwxrwx---+ 2 Administrateur Utilisateurs 0 Jan 23 12:46 dev drwxrwx---+ 8 Administrateur Utilisateurs 0 Jan 23 12:46 etc drwxrwxrwx+ 4 Administrateur Aucun 0 Jan 23 13:04 home drwxrwx---+ 5 Administrateur Utilisateurs 0 Jan 23 12:46 lib dr-xr-xr-x 1 matt Utilisa. du domaine 0 Dec 1 2006 proc ??????????? ? ? ? ? ? tmp drwxrwx---+ 11 Administrateur Utilisateurs 0 Jan 23 12:46 usr drwxrwx---+ 7 Administrateur Utilisateurs 0 Jan 23 12:46 var Can't access to /tmp??? No such file or directory? I can't figure out why? And more important, how to solve this? Salutations Matt -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |