From 12d33952b12f3d632ef6a548f14e6452ed751de4 Mon Sep 17 00:00:00 2001 From: Shijie Luo Date: Sat, 11 Jan 2020 17:14:38 +0800 Subject: [PATCH] fix chown and mknod failed remove chown and mknod when user is root. Signed-off-by: Shijie Luo --- util/install_helper.sh | 6 ------ 1 file changed, 6 deletions(-) diff --git a/util/install_helper.sh b/util/install_helper.sh index 76f2b47..17ef4f0 100644 --- a/util/install_helper.sh +++ b/util/install_helper.sh @@ -28,13 +28,7 @@ install -D -m 644 "${MESON_SOURCE_ROOT}/util/fuse.conf" \ "${DESTDIR}${sysconfdir}/fuse.conf" if $useroot; then - chown root:root "${DESTDIR}${bindir}/fusermount3" chmod u+s "${DESTDIR}${bindir}/fusermount3" - - if test ! -e "${DESTDIR}/dev/fuse"; then - mkdir -p "${DESTDIR}/dev" - mknod "${DESTDIR}/dev/fuse" -m 0666 c 10 229 - fi fi if [ "${udevrulesdir}" != "" ]; then -- 2.38.1.windows.1