unnecessary use of chmod in postinst
Bug #641633 reported by
Jamie Strandboge
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
turtleart (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I just noticed the following in debian/postinst:
DEFAULTS=
if [ -f $DEFAULTS ]; then
chmod 666 $DEFAULTS
echo "application/
chmod 644 $DEFAULTS
fi
There is no reason to use either of the chmod's here. The '666' also gives a slight window where a non-privileged user can add something to the file. Please remove them.
Thanks
To post a comment you must log in.