lkml.org 
[lkml]   [1997]   [Apr]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Subject[patch] Fix for the permission problems in 2.1.36
    Date
    From
    Hi,

    This patch fixes the permission problems in 2.1.36 (screen wouldn't
    run when started from a normal user anymore, root wasn't able to overwrite
    some files anymore etc.).

    -Andi

    --- linux/fs/inode.c-o Wed Apr 23 22:37:53 1997
    +++ linux/fs/inode.c Wed Apr 23 22:39:08 1997
    @@ -288,7 +288,7 @@

    ((attr->ia_valid & ATTR_GID) &&
    (!in_group_p(attr->ia_gid) &&
    - (attr->ia_gid != inode->i_gid))) ||
    + (attr->ia_gid != inode->i_gid)) && not_fsuser) ||

    ((attr->ia_valid & (ATTR_ATIME_SET | ATTR_MTIME_SET)) &&
    (fsuid != iuid) && not_fsuser))
    --
    |andi@mlm.extern.lrz-muenchen.de Nonsense is better than no sense at all.
    | -NoMeansNo,0-1=2

    \
     
     \ /
      Last update: 2005-03-22 13:39    [W:0.033 / U:60.696 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site