Tag Archives: Wubi

經Wubi安裝的ubuntu,更改”/host” permission的方法

經wubi安裝後的ubuntu, /host原設定為root所擁有(ownership), 而/host本身是ntfs格式(windows的關係)。 chmod後,從開也會不見,所以要更改/host 就要作以下動作。 Source: http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg980057.html 原文如下: The mounting for /host is done in the initramfs, which makes this tricky (for me anyway) to track down. I’ve found a workaround for the problem: Edit /usr/share/initramfs-tools/scripts/local-premount/root_locale Append ,umask=022 to this line: echo ROOTFLAGS=\”${ROOTFLAGS}locale=$ROOT_LOCALE\” >> /conf/param.conf so that it reads: echo ROOTFLAGS=\”${ROOTFLAGS}locale=$ROOT_LOCALE,umask=022\” >> /conf/param.conf Save, run: update-initramfs… Read More »