Bug 217403
Summary: | Instance specific schema files should be owned by server uid | ||||||
---|---|---|---|---|---|---|---|
Product: | [Retired] 389 | Reporter: | Rich Megginson <rmeggins> | ||||
Component: | Directory Server | Assignee: | Rich Megginson <rmeggins> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 1.0.4 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-07 16:56:58 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: | 152373, 240316, 427409 | ||||||
Attachments: |
|
Description
Rich Megginson
2006-11-27 19:25:07 UTC
Created attachment 142214 [details]
diffs
ok. Reviewed by: nkinder (Thanks!) Files: see diff Branch: HEAD Fix Description: Add a new function - ds_copy_group_files_using_mode_owner() - that allows you to set the file mode and owner when copying directories and files. Use that function when copying the schema files to the new instance directory. Platforms tested: RHEL4 Flag Day: no Doc impact: no Checking in ldapserver/ldap/admin/src/create_instance.c; /cvs/dirsec/ldapserver/ldap/admin/src/create_instance.c,v <-- create_instance.c new revision: 1.37; previous revision: 1.36 done They seem to be owned by nobody here: -rw------- 1 nobody nobody 24K Dec 14 15:09 __db.001 -rw------- 1 nobody nobody 9.6M Dec 14 15:09 __db.002 -rw------- 1 nobody nobody 1.1M Dec 14 15:09 __db.003 -rw------- 1 nobody nobody 4.4M Dec 14 15:09 __db.004 -rw------- 1 nobody nobody 48K Dec 14 15:09 __db.005 -rw------- 1 nobody nobody 21 Dec 14 15:09 DBVERSION -rw------- 1 nobody nobody 10M Dec 20 15:42 log.0000000005 drwx------ 2 nobody nobody 4.0K Dec 14 15:09 NetscapeRoot drwx------ 2 nobody nobody 4.0K Dec 14 15:22 userRoot "nobody" is the server uid. Verified aginst: 1197673782 redhat-ds-base-8.0.0-11.el5dsrv Fri Dec 14 2007 1197673784 redhat-ds-admin-8.0.0-1.15.el5dsrv Fri Dec 14 2007 1197673785 redhat-ds-console-8.0.0-8.el5dsrv Fri Dec 14 2007 1197673786 redhat-admin-console-8.0.0-9.el5dsrv Fri Dec 14 2007 |