Red Hat Bugzilla – Bug 455689
Local overide files and dirs only allow 3 digit Modes
Last modified: 2008-12-18 13:26:25 EST
Description of problem:
In satellite if you want to set an override file/dir in the
Configuration->Local Overides->Add File/Dir you can only set a 3 char digit
Mode, e.g. 775.
This means it is not possible to set modes with setuid,setgid or the sticky bit
An example of why you might want to do this is the /var/www/html dir in the
You may want to set that dir with a mode/owernsip liek this:
drwxrwsr-x 12 root buzz-content 4096 Jul 17 13:13 /var/www/html
so that members of the buzz-content group can add/modify/remove files in the dir.
When you upgrade httpd however the mode is lost and it is not possible to
override it correctly in the Mode of the Local Overides, because to do you would
would need to set the Mode to 2775 and it is not possible to do that as the text
field only accepts 3 chars.
This means that after every system update/upgrade you need to remember to reset
the mode of the dir.
We have this problem on a number of systems.
Version-Release number of selected component (if applicable):
Redhat Satellite 4.2.1 running on REHL 4-5.
Steps to Reproduce:
1. Log into satellite.
2. Select a a host
3. Click the "Configuration" tab
4. Click the "Local Overides" link
5. Click "add directories" link.
6. Place cursor into "Mode" text field and attempt to enter the text "2775".
You will only be able to enter "277"
You should be able to enter "2775" or another 4 digit string.
Phone number is +61 410 114 192 timezone is +9.5 feel free to call if that would