Fixed SCRIPT_ROOT and SRCSDIR permissions in CLFS2 and CLFS3 to don't break jhalfs run when using CLEAN feature.
This commit is contained in:
parent
71a527cfd2
commit
535fd45b8f
2 changed files with 4 additions and 2 deletions
|
@ -97,7 +97,8 @@ cat << EOF
|
||||||
@touch \$(MOUNT_PT)/var/run/utmp \$(MOUNT_PT)/var/log/{btmp,lastlog,wtmp}
|
@touch \$(MOUNT_PT)/var/run/utmp \$(MOUNT_PT)/var/log/{btmp,lastlog,wtmp}
|
||||||
@chmod 664 \$(MOUNT_PT)/var/run/utmp \$(MOUNT_PT)/var/log/lastlog
|
@chmod 664 \$(MOUNT_PT)/var/run/utmp \$(MOUNT_PT)/var/log/lastlog
|
||||||
@chown -R \$(LUSER) \$(MOUNT_PT) && \\
|
@chown -R \$(LUSER) \$(MOUNT_PT) && \\
|
||||||
chmod -R a+wt \$(MOUNT_PT)/\$(SCRIPT_ROOT)
|
chmod -R a+w \$(MOUNT_PT)/\$(SCRIPT_ROOT) && \\
|
||||||
|
chmod -R a+w \$(SRCSDIR)
|
||||||
@\$(call housekeeping)
|
@\$(call housekeeping)
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
|
@ -99,7 +99,8 @@ cat << EOF
|
||||||
@touch \$(MOUNT_PT)/var/run/utmp \$(MOUNT_PT)/var/log/{btmp,lastlog,wtmp}
|
@touch \$(MOUNT_PT)/var/run/utmp \$(MOUNT_PT)/var/log/{btmp,lastlog,wtmp}
|
||||||
@chmod 664 \$(MOUNT_PT)/var/run/utmp \$(MOUNT_PT)/var/log/lastlog
|
@chmod 664 \$(MOUNT_PT)/var/run/utmp \$(MOUNT_PT)/var/log/lastlog
|
||||||
@chown -R \$(LUSER) \$(MOUNT_PT) && \\
|
@chown -R \$(LUSER) \$(MOUNT_PT) && \\
|
||||||
chmod -R a+wt \$(MOUNT_PT)/\$(SCRIPT_ROOT)
|
chmod -R a+w \$(MOUNT_PT)/\$(SCRIPT_ROOT) && \\
|
||||||
|
chmod -R a+w \$(SRCSDIR)
|
||||||
@\$(call housekeeping)
|
@\$(call housekeeping)
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
Reference in a new issue