File: 011_lessdisks-tmpfs-security.diff

package info (click to toggle)
lessdisks 0.5.3cvs.20040906-16
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,480 kB
  • ctags: 271
  • sloc: sh: 3,058; makefile: 92
file content (11 lines) | stat: -rw-r--r-- 430 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
--- base/init.d-scripts/lessdisks.orig	2005-02-23 22:00:25.000000000 -0800
+++ base/init.d-scripts/lessdisks	2005-02-23 22:00:46.000000000 -0800
@@ -47,7 +47,7 @@
   ramfs) mount -t ramfs -o rw $rw
     echo "mounting ramfs on $rw"
     ;;
-  tmpfs)  mount -t tmpfs -o rw,size=$tmpfs_size tmpfs $rw
+  tmpfs)  mount -t tmpfs -o rw,size=$tmpfs_size,mode=0755 tmpfs $rw
     echo "mounting tmpfs on $rw"
     ;;
   translucency) ;;