summaryrefslogtreecommitdiffstats
path: root/isys
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-03-17 23:51:27 +0000
committerJeremy Katz <katzj@redhat.com>2004-03-17 23:51:27 +0000
commitcd8d095778bb8407de114e4f530ef653e2b5ce60 (patch)
treeb573b4bd4f75df1e778e8e9f3690105a7530b092 /isys
parent39bd2814fa96cf28848b01061ea8e86c7028e1aa (diff)
downloadanaconda-cd8d095778bb8407de114e4f530ef653e2b5ce60.tar.gz
anaconda-cd8d095778bb8407de114e4f530ef653e2b5ce60.tar.xz
anaconda-cd8d095778bb8407de114e4f530ef653e2b5ce60.zip
don't follow symlinks
Diffstat (limited to 'isys')
-rw-r--r--isys/isys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/isys/isys.c b/isys/isys.c
index c4cfec5f6..46a751522 100644
--- a/isys/isys.c
+++ b/isys/isys.c
@@ -1302,7 +1302,7 @@ static PyObject * doResetFileContext(PyObject * s, PyObject * args) {
ret = matchpathcon(fn, 0, &buf);
/* fprintf(stderr, "matchpathcon returned %d: set %s to %s\n", ret, fn, buf);*/
if (ret == 0) {
- ret = setfilecon(fn, buf);
+ ret = lsetfilecon(fn, buf);
}
return Py_BuildValue("s", buf);