Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 118754

Summary: trailing / not handled by restorecon
Product: [Fedora] Fedora Reporter: Jeff Needle <jneedle>
Component: policycoreutilsAssignee: Daniel Walsh <dwalsh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pgraner
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-03-25 05:10:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 114963    

Description Jeff Needle 2004-03-19 20:51:33 UTC
# restorecon /root/
# ls -Zd /root/
drwxr-x---  root     root     system_u:object_r:default_t      /root/

# restorecon /root
# ls -Zd /root/
drwxr-x---  root     root     root:object_r:staff_home_dir_t   /root/

Comment 1 Daniel Walsh 2004-03-20 12:15:06 UTC
Fixed to truncate trailing /

policycoreutils-1.9-11