From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3980 invoked by alias); 23 Jan 2009 13:42:51 -0000 Received: (qmail 3969 invoked by uid 22791); 23 Jan 2009 13:42:47 -0000 X-SWARE-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-ew0-f13.google.com (HELO mail-ew0-f13.google.com) (209.85.219.13) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 23 Jan 2009 13:42:42 +0000 Received: by ewy6 with SMTP id 6so4455493ewy.2 for ; Fri, 23 Jan 2009 05:42:39 -0800 (PST) Received: by 10.210.42.13 with SMTP id p13mr8223187ebp.183.1232718095708; Fri, 23 Jan 2009 05:41:35 -0800 (PST) Received: from ?192.168.0.102? (papillon.metalscan.fr [212.73.210.234]) by mx.google.com with ESMTPS id 24sm4897473eyx.35.2009.01.23.05.41.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jan 2009 05:41:34 -0800 (PST) Message-ID: <4979C90C.1050201@gmail.com> Date: Fri, 23 Jan 2009 14:29:00 -0000 From: Matthieu Dubuget Reply-To: matthieu.dubuget@gmail.com User-Agent: Thunderbird 2.0.0.19 (X11/20090105) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Can't access some files (/tmp) Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2009-01/txt/msg00704.txt.bz2 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=E9der /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/