Colin Walters
8edb5161db
lib/checkout: Ignore world-writable dirs for bare-user-only checkout
...
See https://github.com/ostreedev/ostree/pull/909 for more information on the
rationale. Basically there's no reason for flatpak (which uses `bare-user-only`)
to have world-writable dirs. Particularly with the presence of the system
helper.
An approach I considered instead was to parse and validate directory metadata
objects at commit time. We still may do that in addition; for file objects we *had*
to do it that way because the actual files would be laid down suid. But directories
live only as inert `.dirmeta` objects until we do a checkout (i.e. `mkdir()`), so
we can solve the problem at checkout time.
Closes : #914
Approved by: alexlarsson
2017-06-12 14:24:22 +00:00
..
2017-03-30 19:19:54 +00:00
2015-03-19 12:43:04 -04:00
2016-03-03 08:50:19 -05:00
2017-05-09 15:08:26 +00:00
2017-04-27 13:43:49 +00:00
2017-06-02 14:11:58 +00:00
2017-03-24 22:16:43 +00:00
2017-06-08 06:50:16 +00:00
2016-04-04 14:19:35 +00:00
2017-03-30 19:19:54 +00:00
2017-01-19 13:54:59 +00:00
2016-07-28 10:10:17 +00:00
2015-05-28 14:21:30 -04:00
2017-05-12 21:02:16 +00:00
2016-06-07 15:58:37 +00:00
2017-06-02 17:46:16 +00:00
2017-06-08 06:50:16 +00:00
2016-04-04 14:19:35 +00:00
2016-06-09 21:10:35 +00:00
2016-02-26 08:19:01 -05:00
2016-02-26 08:19:01 -05:00
2017-05-26 14:33:59 +00:00
2017-05-11 18:17:26 +00:00
2016-03-03 08:50:19 -05:00
2016-11-22 02:32:33 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2017-06-02 14:11:58 +00:00
2016-11-01 18:00:37 +00:00
2016-03-03 08:50:19 -05:00
2017-06-02 14:11:58 +00:00
2017-06-02 14:11:58 +00:00
2016-11-01 18:00:37 +00:00
2016-03-31 14:22:06 +00:00
2016-03-03 08:50:19 -05:00
2017-02-27 20:57:23 +00:00
2017-05-22 20:18:07 +00:00
2016-03-03 08:50:19 -05:00
2016-03-03 08:50:19 -05:00
2017-03-24 22:16:43 +00:00
2016-06-27 20:20:21 +00:00
2017-05-25 14:24:05 +00:00
2017-04-25 13:52:35 +00:00
2017-06-12 14:24:22 +00:00
2017-06-08 06:50:16 +00:00
2016-03-03 08:50:19 -05:00
2016-12-05 15:20:56 +00:00
2016-09-09 19:06:11 +00:00
2017-03-24 22:16:43 +00:00
2017-05-08 16:35:09 +00:00
2017-05-09 14:05:46 +00:00
2017-04-12 21:30:33 +00:00
2017-03-24 22:16:43 +00:00
2016-04-19 12:28:06 +00:00
2016-08-31 16:52:12 +00:00
2017-05-05 15:10:51 +00:00
2016-01-27 11:44:10 -05:00
2016-12-06 14:50:08 +00:00
2016-12-05 15:20:56 +00:00
2017-02-22 18:57:18 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2016-12-05 15:20:56 +00:00
2016-12-05 15:20:56 +00:00
2017-03-24 22:16:43 +00:00
2016-12-05 15:20:56 +00:00
2016-12-05 15:20:56 +00:00
2016-12-05 15:20:56 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2016-03-31 18:54:13 +00:00
2017-01-19 10:47:15 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2017-03-24 22:16:43 +00:00
2016-03-03 08:50:19 -05:00
2017-03-24 22:16:43 +00:00
2017-04-04 15:54:46 +00:00
2017-05-18 01:14:15 +00:00
2016-01-27 11:44:10 -05:00
2017-03-06 20:58:04 +00:00
2017-03-30 19:19:54 +00:00
2017-05-11 18:17:26 +00:00
2013-10-19 11:56:51 -04:00
2017-06-07 16:55:35 +00:00
2016-09-01 20:17:58 +00:00
2017-05-19 15:02:00 +00:00
2016-03-03 21:56:23 -05:00
2016-08-09 19:01:35 +00:00
2016-12-05 15:20:56 +00:00
2017-03-24 22:16:43 +00:00