RE(Re): Base-files 3.4-1: Problems for users with Non-Admin. priv
John, you mailed to Igor that there will be a new release of base-files. Will it fix also /etc/profile? == As I wrote: http://cygwin.com/ml/cygwin-xfree/2005-05/msg00140.html the problem of chmod 1777 /tmp is present also for the user (NOT-ADMIN.) that uses only the standard bash shell, i.e. the user that does not use X (XWin etc.). Thank you angelo.
Re: Base-files 3.4-1: Problems for users with Non-Admin. priv. (atn: Corinna)
On Sun, May 15, 2005 9:38 pm, Angelo Graziosi said: When loging as user without admn. priv. (e.g.: owner= Graziosi, group= Users) the standard bash shell (cygwin.bat) says: chmod: changing permissions of `/tmp': Permission denied This is caused by if [ -d /tmp ]; then chmod 1777 /tmp fi in /etc/profile. It assign the permission t to /tmp but this was already a problem with xorg-x11-xwin-6.8.2.0-1 and org-x11-xwin-gl-6.8.2.0-1. The next, 6.8.2.0-2, was released exactly to fix that problem. The solution was to not assign the t permission to /tmp and to whatever it contans! See: http://cygwin.com/ml/cygwin-xfree/2005-04/msg00076.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00054.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00053.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00050.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00049.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00048.html angelo. Corinna, this was a change you asked for... what would you like me to do? http://cygwin.com/ml/cygwin-apps/2005-04/msg00206.html J.
Re: Base-files 3.4-1: Problems for users with Non-Admin. priv. (atn: Corinna)
On Sun, May 15, 2005 9:38 pm, Angelo Graziosi said: When loging as user without admn. priv. (e.g.: owner= Graziosi, group= Users) the standard bash shell (cygwin.bat) says: chmod: changing permissions of `/tmp': Permission denied This is caused by if [ -d /tmp ]; then chmod 1777 /tmp fi in /etc/profile. It assign the permission t to /tmp but this was already a problem with xorg-x11-xwin-6.8.2.0-1 and org-x11-xwin-gl-6.8.2.0-1. The next, 6.8.2.0-2, was released exactly to fix that problem. The solution was to not assign the t permission to /tmp and to whatever it contans! See: http://cygwin.com/ml/cygwin-xfree/2005-04/msg00076.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00054.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00053.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00050.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00049.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00048.html angelo. Corinna, this was a change you asked for... what would you like me to do? http://cygwin.com/ml/cygwin-apps/2005-04/msg00206.html J.
Re: Base-files 3.4-1: Problems for users with Non-Admin. priv
Corinna Vinschen wrote: The t bit is absolutely correct to be set for /tmp. Why is that a problem for X? X should remove the X0 file when exiting, so that shouldn't be an issue. Alexander, is there a problem to remove the Xnum file on exit? This is standard behaviour for instance on Linux as well. If the xserver is shutdown normally the file is removed but if it's killed or exits unexpectedly, the file remains. This is not a problem on linux since the xserver has root privileges by default and can force the removal. I've changed the source to create the .X11-unix directory without the sticky flag. Removeing the directory should recreate it with the correct flags. bye ago -- [EMAIL PROTECTED] http://www.gotti.org ICQ: 126018723
Re: Base-files 3.4-1: Problems for users with Non-Admin. priv
On May 16 15:02, Alexander Gottwald wrote: Corinna Vinschen wrote: The t bit is absolutely correct to be set for /tmp. Why is that a problem for X? X should remove the X0 file when exiting, so that shouldn't be an issue. Alexander, is there a problem to remove the Xnum file on exit? This is standard behaviour for instance on Linux as well. If the xserver is shutdown normally the file is removed but if it's killed or exits unexpectedly, the file remains. This is not a problem on linux since the xserver has root privileges by default and can force the removal. Oh, this problem exists on Linux, too, sort of. Xvnc does not forcefully remove the file but instead it starts with the next free display number. We are not alone :-) I've changed the source to create the .X11-unix directory without the sticky flag. Removeing the directory should recreate it with the correct flags. Ok, thank you. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin@cygwin.com Red Hat, Inc.
Re: Base-files 3.4-1: Problems for users with Non-Admin. priv
I want to call again your attention on the fact that when /etc/profile sets chmod 1777 /tmp the simple user (NOT Admin. priv) receives chmod: changing permissions of `/tmp': Permission denied even if he starts the standard bash-shell without the XServer activated! i.e. the problem remains for the simple user who does not use X. thank you. angelo.
Base-files 3.4-1: Problems for users with Non-Admin. priv.
When loging as user without admn. priv. (e.g.: owner= Graziosi, group= Users) the standard bash shell (cygwin.bat) says: chmod: changing permissions of `/tmp': Permission denied This is caused by if [ -d /tmp ]; then chmod 1777 /tmp fi in /etc/profile. It assign the permission t to /tmp but this was already a problem with xorg-x11-xwin-6.8.2.0-1 and org-x11-xwin-gl-6.8.2.0-1. The next, 6.8.2.0-2, was released exactly to fix that problem. The solution was to not assign the t permission to /tmp and to whatever it contans! See: http://cygwin.com/ml/cygwin-xfree/2005-04/msg00076.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00054.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00053.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00050.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00049.html http://cygwin.com/ml/cygwin-xfree/2005-04/msg00048.html angelo.