(UPDATED) 107078-03 on Solaris 7 (Xsun permission problem)

2007-12-25 10:09:00

I sent the SUMMARY below, but made a small mistake (thanks

Casper), the GID (root:root) of the /usr/openwin/bin/Xsun is actually:

-rwxr-sr-x 1 root root 949520 Feb 19 21:24 /usr/openwin/bin/Xsun

I apologize for this inconvenience.

--antonio

---------- Forwarded message ----------

Date: Thu, 13 May 1999 14:14:05 -0300 (EST)

From: Antonio Figueiredo <antonio@dca.fee.unicamp.br>

To: sun-managers@codeprof.ececs.uc.edu

Cc: Antonio Figueiredo <antonio@dca.fee.unicamp.br>

Subject: SUMMARY: 107078-03 on Solaris 7 (Xsun permission problem)

The original question was:

> I installed the patch 107078-03, distributed by Sun for JDK 1.2.1, on a

> Solaris 7 machine. After application of this patch, seems to me that the

> Xsun doesn't get to write at directories /tmp/.X11-pipe and /tmp/.X11-unix

> which are with the following permissoes:

>

> drwxrwxr-x 2 user root 104 May 10 16:04 .X11-pipe

> drwxrwxr-x 2 user root 104 May 10 16:04 .X11-unix

>

> Hence, deny any other user to start a window manager.

> /usr/openwin/bin/Xsun is replaced by this patch.

>

When the patch 107078-03 is installed, the X server's permissions is

changed to:

-rwxrwxr-x 1 root bin 949520 Feb 19 21:24 /usr/openwin/bin/Xsun

It must run as set group ID root

So, changed it to:

-rwxr-sr-x 1 root bin 949520 Feb 19 21:24 /usr/openwin/bin/Xsun

    ^^^^

Thanks to:

        Michael Pavlov <misha@cibc.com>

        Casper Dik <casper@holland.sun.com>

--antonio

------------------

Antonio Figueiredo

School of Electrical and www.dca.fee.unicamp.br/~antonio

Computer Engineering antonio@dca.fee.unicamp.br

State University of Campinas - Campinas, SP BRAZIL +55 19 788-3823

-------------------------------------------------------------------------

Visit http://www.revista.unicamp.br/revista/navegacao/index9.html

Comments

Got something to say?

You must be logged in to post a comment.