Changeset 891


Ignore:
Timestamp:
Dec 30, 2016, 1:00:58 PM (5 months ago)
Author:
amain
Message:

rootfs: fix dir permissions in / (skip /root)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/debian/rootfs/files/all/usr/sbin/PostInstall

    r890 r891  
    3737# file system access errors.
    3838echo "I: Setting +rx on all directories in /"
    39 find / -maxdepth 1 -mindepth 1 -type d -exec chmod +rx {} \;
     39find / -maxdepth 1 -mindepth 1 -type d \
     40 | grep -v "root"
     41 | grep -v "lost+found"
     42 | while read dir
     43   do
     44       chmod +rx ${dir}
     45   done
    4046
    4147echo -n "I: syncing disks...."
Note: See TracChangeset for help on using the changeset viewer.