fix mountall: Evnet failed with two style code

Bug #1418796 reported by wally
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mountall (Ubuntu)
New
Undecided
Unassigned

Bug Description

there are two fix for "mountall: Event failed" under mountall-2.54ubuntu1/conf/ mounted-proc and mounted-debugfs

In mounted-proc, using following code:
    if [ -e "${MOUNTPOINT}"/slabinfo ]; then
        chmod 0400 "${MOUNTPOINT}"/slabinfo
    fi

and mounted-debugfs use this:
    chmod 0700 "${MOUNTPOINT}" || true

maybe we should change mounted-debugfs to:
    if [ -e "${MOUNTPOINT}" ]; then
        chmod 0700 "${MOUNTPOINT}"
    fi

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.