summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2013-08-13 17:37:28 +0200
committerJonathan Bauer2013-08-13 17:37:28 +0200
commit758c5b785b829a5630ed5afdff204858af3b5414 (patch)
treea7a395206f9b16eefcd0e09c74e814c323b16779
parent[rootfs-stage32] SLX_STAGE4_NFS has to be given in the global config file (/o... (diff)
downloadtm-scripts-758c5b785b829a5630ed5afdff204858af3b5414.tar.gz
tm-scripts-758c5b785b829a5630ed5afdff204858af3b5414.tar.xz
tm-scripts-758c5b785b829a5630ed5afdff204858af3b5414.zip
[rootfs-stage32] fix permission for /var/log/openslx. vmchooser can now write log files independently from whom started it
-rw-r--r--remote/rootfs/rootfs-stage32/rootfs-stage32.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/remote/rootfs/rootfs-stage32/rootfs-stage32.build b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
index 93094f72..596d8deb 100644
--- a/remote/rootfs/rootfs-stage32/rootfs-stage32.build
+++ b/remote/rootfs/rootfs-stage32/rootfs-stage32.build
@@ -68,6 +68,8 @@ post_copy() {
# make openslx log directory
mkdir -p "${TARGET_BUILD_DIR}"/var/log/openslx
+ # make openslx log directory writable for all users
+ chmod a+w "${TARGET_BUILD_DIR}"/var/log/openslx
# copy devices from running system
cp -a /dev/{console,kmsg,mem,null,shm,tty,tty0,tty1,tty9,urandom,zero} \