Merge lp:~chipaca/snapweb/m1777 into lp:~snappy-dev/snapweb/trunk

Proposed by John Lenton
Status: Merged
Approved by: Sergio Schvezov
Approved revision: 142
Merged at revision: 142
Proposed branch: lp:~chipaca/snapweb/m1777
Merge into: lp:~snappy-dev/snapweb/trunk
Diff against target: 12 lines (+1/-1)
1 file modified
pkg/snappyd (+1/-1)
To merge this branch: bzr merge lp:~chipaca/snapweb/m1777
Reviewer Review Type Date Requested Status
Sergio Schvezov Approve
Review via email: mp+259864@code.launchpad.net

Commit message

Make sure we don't create /tmp/snaps with a mode different from 01777.

Description of the change

Make sure we don't create /tmp/snaps with a mode different from 01777.

This also creates /tmp/snaps/webdm/... etc with 01777; if that's a problem, then this needs more work.

To post a comment you must log in.
Revision history for this message
Sergio Schvezov (sergiusens) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'pkg/snappyd'
2--- pkg/snappyd 2015-05-01 14:58:18 +0000
3+++ pkg/snappyd 2015-05-21 22:27:57 +0000
4@@ -15,7 +15,7 @@
5 ;;
6 esac
7
8-mkdir -p $SNAP_APP_TMPDIR
9+mkdir -m1777 -p $SNAP_APP_TMPDIR
10 exec $SNAP_APP_PATH/bin/$plat_abi/snappyd
11
12 # never reach this

Subscribers

People subscribed via source and target branches

to all changes: