Chris Lu and Claude Opus 5.5
488bdafbbb
mount: decide chown's set-id clearing by the caller, keep it on directories ( #12955 )
...
* mount: decide chown's set-id clearing by the caller, keep it on directories
SetAttr read input.Uid as the caller, but in SetAttrIn that field is the new
owner; the caller is input.Caller.Uid. Root giving a file away cleared its
SUID/SGID bits, a user giving a file to root kept them, and every chown to a
non-root owner cleared the SGID bit of a directory, which Linux keeps so new
entries go on inheriting the group.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
* mount: let Linux decide chown's set-id clearing
The mount does not handle killpriv, so Linux sends the cleared mode with a
chown that must drop the set-id bits. Clearing them again by caller dropped
the SGID bit Linux keeps on a file without group execute when a user changes
only its group. Other systems keep the caller rule.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-24 12:36:05 -08:00
..
2026-11-22 23:07:14 -08:00
2026-11-18 10:51:31 -08:00
2026-02-20 18:42:00 -08:00
2026-08-25 01:28:50 -07:00
2026-11-18 14:11:11 -08:00
2026-11-18 14:11:11 -08:00
2026-11-12 16:28:47 -08:00
2026-11-12 16:28:47 -08:00
2026-11-13 21:56:44 -08:00
2026-11-13 21:56:44 -08:00
2026-11-13 12:34:58 -08:00
2026-11-14 01:13:37 -08:00
2026-11-14 01:13:37 -08:00
2026-11-14 11:11:01 -08:00
2026-10-12 09:42:52 +08:00
2026-11-14 19:34:43 -08:00
2026-11-18 10:51:31 -08:00
2026-11-20 12:49:05 -08:00
2026-11-20 12:49:05 -08:00
2026-10-29 16:06:57 -07:00
2026-11-14 10:47:33 -08:00
2026-10-29 16:06:57 -07:00
2026-11-24 10:32:18 -08:00
2026-08-04 16:42:33 -07:00
2026-11-24 12:33:10 -08:00
2026-03-30 18:25:11 -07:00
2026-10-11 20:18:22 +08:00
2026-11-18 10:51:31 -08:00
2026-11-14 11:11:01 -08:00
2026-09-01 13:21:02 -07:00
2026-11-23 14:19:08 -08:00
2026-11-23 14:19:08 -08:00
2026-11-24 10:32:18 -08:00
2026-11-22 10:11:42 -08:00
2026-11-18 10:51:31 -08:00
2026-07-23 17:44:02 -07:00
2026-11-12 08:57:42 -08:00
2026-11-12 08:57:42 -08:00
2026-06-16 09:16:24 -07:00
2026-06-16 09:16:24 -07:00
2026-11-24 12:34:58 -08:00
2026-11-24 12:34:58 -08:00
2026-04-18 20:03:34 -07:00
2026-04-18 20:03:34 -07:00
2026-07-23 17:44:02 -07:00
2026-07-23 17:44:02 -07:00
2026-04-18 21:42:36 -07:00
2026-04-18 20:18:38 -07:00
2026-04-18 20:18:38 -07:00
2026-04-18 20:18:38 -07:00
2026-07-23 17:44:02 -07:00
2026-11-21 10:38:38 -08:00
2026-04-18 20:18:38 -07:00
2026-04-19 00:53:12 -07:00
2026-04-18 20:03:45 -07:00
2026-04-18 20:03:45 -07:00
2026-10-22 18:38:33 -07:00
2026-04-18 20:03:45 -07:00
2026-08-03 21:20:26 -07:00
2026-10-26 22:02:13 -07:00
2026-11-22 23:07:14 -08:00
2026-11-22 23:07:14 -08:00
2026-11-22 23:07:14 -08:00
2026-11-14 01:13:37 -08:00
2026-11-24 10:32:18 -08:00
2026-11-24 10:32:18 -08:00
2026-08-03 14:47:20 -07:00
2026-08-03 21:55:59 -07:00
2026-08-03 01:07:49 -07:00
2026-06-18 17:38:28 -07:00
2026-06-18 17:38:28 -07:00
2026-11-18 11:01:30 -08:00
2026-11-18 11:01:30 -08:00
2026-11-14 10:47:33 -08:00
2026-11-14 11:11:01 -08:00
2026-11-13 21:56:44 -08:00
2026-11-24 12:36:05 -08:00
2026-01-06 10:50:54 -08:00
2026-01-06 10:50:54 -08:00
2026-01-06 10:50:54 -08:00
2026-11-13 12:27:15 -08:00
2026-08-28 14:56:50 -07:00
2026-11-12 16:28:47 -08:00
2026-09-12 20:06:25 -07:00
2026-08-03 01:07:49 -07:00
2026-11-24 12:36:05 -08:00
2026-04-16 00:44:24 -07:00
2026-11-19 00:04:03 -08:00
2026-11-24 10:40:58 -08:00
2026-11-24 10:40:58 -08:00
2026-10-12 09:42:52 +08:00
2026-08-07 17:48:42 -07:00
2026-08-07 12:11:27 -07:00
2026-10-12 09:42:52 +08:00
2026-10-29 11:32:57 -07:00
2026-10-29 11:32:57 -07:00
2026-11-14 19:34:43 -08:00
2026-11-24 10:32:18 -08:00
2026-10-29 16:06:57 -07:00
2026-08-28 14:56:50 -07:00
2026-04-16 11:37:52 -07:00
2026-11-24 10:32:18 -08:00
2026-10-26 22:02:13 -07:00
2026-09-08 10:50:41 -07:00
2026-11-13 12:02:42 -08:00
2026-11-14 19:34:43 -08:00
2026-11-24 12:33:10 -08:00
2026-11-18 10:58:05 -08:00
2026-11-24 10:32:18 -08:00
2026-11-24 10:32:18 -08:00
2026-10-10 23:39:29 +08:00
2026-11-23 00:30:55 -08:00
2026-11-14 19:34:43 -08:00
2026-11-14 19:34:43 -08:00
2026-11-22 10:34:36 -08:00
2026-11-23 00:30:55 -08:00
2026-11-14 19:34:43 -08:00
2026-11-14 01:13:37 -08:00
2026-01-07 13:06:08 -08:00
2026-11-23 14:19:08 -08:00
2026-11-22 23:07:14 -08:00
2026-11-13 21:56:44 -08:00
2026-10-29 00:55:47 -07:00
2026-11-20 12:49:05 -08:00
2026-11-12 16:15:08 -08:00
2026-11-12 16:15:08 -08:00
2026-11-18 10:50:28 -08:00
2026-11-22 23:07:14 -08:00
2026-07-23 17:44:02 -07:00
2026-11-13 16:14:22 -08:00
2026-11-23 00:30:55 -08:00
2026-11-18 14:13:40 -08:00
2026-08-03 21:20:26 -07:00
2026-10-26 22:02:13 -07:00
2026-01-07 13:06:08 -08:00
2026-10-11 20:18:22 +08:00
2026-10-29 16:06:57 -07:00
2026-10-29 16:06:57 -07:00
2026-11-24 12:24:39 -08:00
2026-11-22 10:34:36 -08:00
2026-11-24 12:24:39 -08:00
2026-07-27 14:28:29 -07:00
2026-10-11 20:18:22 +08:00
2026-10-11 20:18:22 +08:00
2026-11-20 12:49:05 -08:00
2026-11-20 12:49:05 -08:00
2026-11-20 12:49:05 -08:00
2026-11-24 12:33:10 -08:00
2026-04-15 14:06:06 -07:00
2026-11-22 23:07:14 -08:00
2026-11-22 23:07:14 -08:00
2026-10-12 09:42:52 +08:00
2026-08-03 14:47:20 -07:00
2026-01-06 10:50:54 -08:00
2026-11-12 16:28:47 -08:00
2026-11-22 10:11:42 -08:00
2026-11-24 12:33:10 -08:00
2026-11-20 12:49:05 -08:00
2026-11-20 12:49:05 -08:00
2026-10-11 20:18:22 +08:00
2026-11-22 10:11:42 -08:00
2026-11-24 10:40:58 -08:00
2026-11-24 10:40:58 -08:00