fix root directory permissions
hsh-initroot leaves the chroot's root directory permissions as 1775 while these should really be 755 at most; let's fix it (important for both VE and VM images, useful for rescue/livecd ones as well -- especially those with an installer onboard).
This commit is contained in:
parent
d0cb988897
commit
83fa2544bc
6
image.in/image-scripts.d/01rootdir
Executable file
6
image.in/image-scripts.d/01rootdir
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# fixup chroot's toplevel directory permissions (use to become 1775)
|
||||||
|
|
||||||
|
chmod 755 /
|
||||||
|
|
||||||
|
rm -f /.gitignore
|
6
sub.in/stage2/image-scripts.d/01rootdir
Executable file
6
sub.in/stage2/image-scripts.d/01rootdir
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
# fixup chroot's toplevel directory permissions (use to become 1775)
|
||||||
|
|
||||||
|
chmod 755 /
|
||||||
|
|
||||||
|
rm -f /.gitignore
|
Loading…
Reference in New Issue
Block a user