[augeas-devel] [Augeas] #26: ownership/mode of files gets altered
Augeas
trac at fedorahosted.org
Fri Oct 17 19:57:16 UTC 2008
#26: ownership/mode of files gets altered
------------------------------------+---------------------------------------
Reporter: mfo | Owner: lutter
Type: defect | Status: new
Priority: major | Milestone: next
Component: Augeas | Version: 0.3.1
Keywords: ownership mode selinux |
------------------------------------+---------------------------------------
Augeas changes permissions, ownership and selinux labels of files it
edits:
{{{
[root at kissrv20 ~]# ls -al /etc/my.cnf
-rw-rw-r-- 1 root dbadmin 894 Oct 17 13:03 /etc/my.cnf
[root at kissrv20 ~]# augtool
augtool> set /files/etc/my.cnf/mysqld/master-user foobar
augtool> save
augtool>
[root at kissrv20 ~]# ls -al /etc/my.cnf
-rw-r--r-- 1 root root 894 Oct 17 13:07 /etc/my.cnf
}}}
The 'save' code is missing the bits where it tries to set
mode/ownership/SELinux labels according to what the old file had.
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/26>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list