This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Base-files 3.4-1: Problems for users with Non-Admin. priv. (atn: Corinna)


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-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>

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 X<num> file on exit? This is
standard behaviour for instance on Linux as well.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          mailto:cygwin@cygwin.com
Red Hat, Inc.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]