Bug 118132

Summary: user can't chmod ~/.ssh
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: policyAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pgraner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 1.8-14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-14 17:50:05 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Tim Waugh 2004-03-12 11:11:08 UTC
Description of problem:
[tim@tornado tim]$ id -Z
[tim@tornado tim]$ ls --lcontext -d .ssh
drwxrwxr-x  2 system_u:object_r:user_home_ssh_t tim tim 4096 Mar 11
15:07 .ssh
[tim@tornado tim]$ chmod g-w .ssh
chmod: changing permissions of `.ssh': Permission denied
[tim@tornado tim]$ rpm -q policy

[root@tornado program]# audit2allow
avc:  denied  { setattr } for  pid=2705 exe=/bin/chmod name=.ssh
dev=hdb1 ino=748424 scontext=user_u:user_r:user_t
tcontext=system_u:object_r:user_home_ssh_t tclass=dir
allow user_t user_home_ssh_t:dir { setattr };

Version-Release number of selected component (if applicable):

How reproducible:

Comment 1 Daniel Walsh 2004-03-12 19:59:05 UTC
fixed in policy-1.8-14