Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Silent change of permissions for /usr/bin/Xorg ?

  1. #1
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Silent change of permissions for /usr/bin/Xorg ?

    Sometimes, after a reboot or when re-launching the graphical desktop with startx it yells at me: Can't... (and failes).

    Normally, the permissions for /usr/bin/Xorg are set to:

    Code:
    -rws--x--x 1 root root 1791736 15. Apr 18:30 /usr/bin/Xorg
    but when the error occurs and I look at the perms I find:

    Code:
    -rwx--x--x 1 root root 1791736 15. Apr 18:30 /usr/bin/Xorg
    This was observed on both, openSUSE 11.1 and 11.2. What can be done to inhibit this silent (and unwanted) change of permissions?
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  2. #2
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Silent change of permissions for /usr/bin/Xorg ?

    I have to add an additional observation: This happens on systems when setting with yast: "File permissions ==> Secure". It does not happen when file permissions are set to "Easy".

    Does this mean that "Secure" is designed to break things which are supposed to work otherwise?
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  3. #3
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Silent change of permissions for /usr/bin/Xorg ?

    vodoo wrote:
    > --------------------
    > -rws--x--x 1 root root 1791736 15. Apr 18:30 /usr/bin/Xorg
    > -rwx--x--x 1 root root 1791736 15. Apr 18:30 /usr/bin/Xorg
    > --------------------


    i can't see the difference, try posting again

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  4. #4
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Silent change of permissions for /usr/bin/Xorg ?

    Well, there's a subtle difference: rwx != rws
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  5. #5
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,718

    Default Re: Silent change of permissions for /usr/bin/Xorg ?

    This is openSUSE 11.2 and the set-uid bit is set.

    I do reboots (of course), but never do a startx.

    Do not know if this observation helps.
    Henk van Velden

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Silent change of permissions for /usr/bin/Xorg ?

    DenverD wrote:
    > i can't see the difference, try posting again


    OH, now i see it...but, have no idea how to answer..
    (i know i keep my file permissions setting at 'easy' i don't what that
    cost me in security,but i know setting anything is make lots of stuff
    different.....and harder.)

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD [posted via NNTP w/openSUSE 10.3]

  7. #7
    Join Date
    Jan 2009
    Location
    Switzerland
    Posts
    1,529

    Default Re: Silent change of permissions for /usr/bin/Xorg ?

    I do reboots (of course), but never do a startx.
    Let me explain: My system boots to runlevel 3. And most of the time it runs in runlevel 3, except when I want to do some work where I need a graphical environment, and then I do a 'startx' (and shut the GE down when no longer needed).
    Technology is 'stuff that doesn't work yet.' -- Bran Ferren

  8. #8
    Join Date
    Nov 2009
    Location
    Uruguay
    Posts
    737

    Default Re: Silent change of permissions for /usr/bin/Xorg ?

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    I've never try secure, but paranoid make me reinstall my test system
    once when I try to login as root... and the system say "Permissions on
    the password database may be too restrictive"

    - --
    VampirD

    Microsoft Windows is like air conditioning
    Stops working when you open a window.
    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.15 (GNU/Linux)
    Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

    iEYEARECAAYFAkxO7scACgkQJQ+0ABWtaVnwhwCgklQivjVbplDRn2B4HRnNzF+U
    WmMAn3utdsf9xzBKT2ElzYQBHKAazhk7
    =kp4p
    -----END PGP SIGNATURE-----

  9. #9
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: Silent change of permissions for /usr/bin/Xorg ?

    Quote Originally Posted by vodoo View Post
    I have to add an additional observation: This happens on systems when setting with yast: "File permissions ==> Secure". It does not happen when file permissions are set to "Easy".

    Does this mean that "Secure" is designed to break things which are supposed to work otherwise?
    It means that you are supposed to use *dm and not startx to start the desktop when permissions != easy.

    You can edit /etc/permissions.secure to allow Xorg to be setuid.

  10. #10
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    24,718

    Default Re: Silent change of permissions for /usr/bin/Xorg ?

    I wasn't implying that you did insane things . I only wanted to tell that I do not have your problem (except when there is a mechanism that sets and later unsets the bit and I am looking at the "wrong" moment). And I also wanted to explain that my way of working may differ from yours and thus may be of influence. At the moment I do not see why happens what happens to you, but often saying rather innocent things triggers a strain of thinking that leads to understanding.

    But as we see the secure thingy is doing this for sure.
    Henk van Velden

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •