Mail Archives: cygwin/2005/05/20/12:44:28
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/
- Raw text -