Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 To: cygwin AT cygwin DOT com From: Sean Aitken Subject: New error: chmod: changing permissions of `/tmp': Permission denied Date: Tue, 17 May 2005 11:41:40 -0400 Lines: 55 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla Thunderbird 0.7.2 (Windows/20040707) X-IsSubscribed: yes Good morning, I have just recently started banging away at a problem with sshd and Windows Server 2003 again. This has been a difficult journey, but I feel we're making progress. Today, I noticed for the first time the following error message appears when a non-admin user logs in to cygwin: -- chmod: changing permissions of `/tmp': Permission denied -- This seems to be caused by this line in the /etc/profile file: [/etc/profile] =========================== ... if [ -d "/tmp" ]; then chmod 1777 /tmp fi ... ========================================== Should I just ignore this warning? I had this problem with an existing install on cygwin, and with a completely fresh install (after mkgroup / mkpasswd), it happens also! The permissions on the root are: . . total 8 drwxr-x---+ 9 saitken Users 0 May 17 10:32 . drwxr-x---+ 9 saitken Users 0 May 17 10:32 .. drwxr-x---+ 2 saitken Users 0 May 17 10:37 bin -rwxr-x---+ 1 saitken Users 57 May 17 10:27 cygwin.bat -rwxr-x---+ 1 saitken Users 7022 May 17 10:38 cygwin.ico drwxr-x---+ 10 saitken Users 0 May 17 10:34 etc drwxrwxrwx+ 4 saitken Domain Users 0 May 17 10:34 home drwxr-x---+ 5 saitken Users 0 May 17 10:24 lib drwxrwxrwt+ 2 saitken Users 0 May 17 10:34 tmp drwxr-x---+ 14 saitken Users 0 May 17 10:24 usr drwxr-x---+ 7 saitken Users 0 May 17 10:24 var . . Any ideas would be appreciated. For the time being, I will just ignore the error. Best regards, -Sean -- 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/