Base-files 3.4-1: Problems for users with Non-Admin. priv. (atn: Corinna)
Mon May 16 11:02:00 GMT 2005
On May 16 11:50, John Morrison wrote:
> 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-22.214.171.124-1 and org-x11-xwin-gl-126.96.36.199-1.
> > The next, 188.8.131.52-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?
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
Alexander, is there a problem to remove the X<num> file on exit? This is
standard behaviour for instance on Linux as well.
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader mailto:email@example.com
Red Hat, Inc.
More information about the Cygwin-xfree