芝麻web文件管理V1.00
编辑当前文件:/home/strato/chroot/bin/postinstall.sh
#!/bin/sh mkdir /root mkdir -p /var/run chmod -R 755 /var/run # DEVICE NODES mkdir -p /dev chmod -R 755 /dev # RESTRICTED FILES mkdir -p /var/spool/mqueue chmod 755 /var/spool chmod 755 /var/spool/mqueue mkdir -p /var/spool/mail chmod 750 /var/spool/mail # LOCALE FILES mkdir -p /usr/lib/locale chmod -R 755 /lib/locale # SHARE FILES mkdir -p /usr/share chmod -R 755 /usr/share # TMP MOUNTPOINTS mkdir -p /tmp chmod 1777 /tmp mkdir -p /mnt/tmp chmod 755 /mnt chmod 1777 /mnt/tmp #cd /var #ln -s spool/mail mail