Red Hat Bugzilla – Bug 68729
su doesn't set permissions at the right point
Last modified: 2007-04-18 12:44:08 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020606
Description of problem:
This is a continuation of the bug
The problem with the solution that I presented in that bug is the fact that it
still doesn't handle the case where the only access to the file is through a
secondary group. Therefore, just doing a setfsgid doesn't work in all situations.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. adduser test1
2. add a group test2
3. add test1 user to test2 group.
4. chmod 750 /home
5. chgrp test2 /home
6. chmod 700 /home/test1
7. su - test1
Created attachment 65189 [details]
patch which fixes the problem
Fixed in 2.0.12-3
Red Hat Linux and Red Hat Powertools are currently no longer supported by Red
Hat, Inc. In an effort to clean up bugzilla, we are closing all bugs in MODIFIED
state for these products.
However, we do want to make sure that nothing important slips through the
cracks. If, in fact, these issues are not resolved in a current Fedora Core
Release (such as Fedora Core 5), please open a new issues stating so. Thanks.