diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-03-17 23:51:27 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-03-17 23:51:27 +0000 |
commit | cd8d095778bb8407de114e4f530ef653e2b5ce60 (patch) | |
tree | b573b4bd4f75df1e778e8e9f3690105a7530b092 /isys/isys.c | |
parent | 39bd2814fa96cf28848b01061ea8e86c7028e1aa (diff) | |
download | anaconda-cd8d095778bb8407de114e4f530ef653e2b5ce60.tar.gz anaconda-cd8d095778bb8407de114e4f530ef653e2b5ce60.tar.xz anaconda-cd8d095778bb8407de114e4f530ef653e2b5ce60.zip |
don't follow symlinks
Diffstat (limited to 'isys/isys.c')
-rw-r--r-- | isys/isys.c | 2 |
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); |