mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-01 15:08:21 +00:00
distro-files: change the modes of /tmp and /dev/shm to 1777 and of /dev to 0755
This commit is contained in:
+4
-1
@@ -1,9 +1,12 @@
|
|||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
mkdir -p /dev
|
mkdir -p /dev
|
||||||
mount /dev devfs
|
mount /dev devfs
|
||||||
|
chmod 0755 /dev
|
||||||
|
|
||||||
mkdir -p /dev/shm
|
mkdir -p /dev/shm
|
||||||
mount /dev/shm tmpfs
|
mount /dev/shm tmpfs
|
||||||
|
chmod 1777 /dev/shm
|
||||||
|
|
||||||
mkdir -p /tmp
|
mkdir -p /tmp
|
||||||
mount /tmp tmpfs
|
mount /tmp tmpfs
|
||||||
|
chmod 1777 /tmp
|
||||||
|
|||||||
Reference in New Issue
Block a user