Mount tmpfs for /dev with mode=0755 (the udev case was already handled
properly, but the hotplug2 case did not have this option).

Signed-off-by: Sergey Vlasov <[email protected]>
---
 .../files/lib/preinit/20_device_fs_mount           |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/package/base-files/files/lib/preinit/20_device_fs_mount 
b/package/base-files/files/lib/preinit/20_device_fs_mount
index 283aa0a..832b1cf 100644
--- a/package/base-files/files/lib/preinit/20_device_fs_mount
+++ b/package/base-files/files/lib/preinit/20_device_fs_mount
@@ -14,7 +14,7 @@ do_mount_devfs() {
 }
 
 do_mount_hotplug() {
-    mount -t tmpfs tmpfs /dev -o size=512K
+    mount -t tmpfs tmpfs /dev -o mode=0755,size=512K
 }
 
 do_mount_udev() {
-- 
1.7.2.rc3.50.gbbbd

_______________________________________________
openwrt-devel mailing list
[email protected]
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to