Ralph Boehme
5f36890d65
fs/smb/client: implement chmod() for SMB3 POSIX Extensions
...
[ Upstream commit d413eabff18d640031fc955d107ad9c03c3bf9f1 ]
The NT ACL format for an SMB3 POSIX Extensions chmod() is a single ACE with the
magic S-1-5-88-3-mode SID:
NT Security Descriptor
Revision: 1
Type: 0x8004, Self Relative, DACL Present
Offset to owner SID: 56
Offset to group SID: 124
Offset to SACL: 0
Offset to DACL: 20
Owner: S-1-5-21-3177838999-3893657415-1037673384-1000
Group: S-1-22-2-1000
NT User (DACL) ACL
Revision: NT4 (2)
Size: 36
Num ACEs: 1
NT ACE: S-1-5-88-3-438, flags 0x00, Access Allowed, mask 0x00000000
Type: Access Allowed
NT ACE Flags: 0x00
Size: 28
Access required: 0x00000000
SID: S-1-5-88-3-438
Owner and Group should be NULL, but the server is not required to fail the
request if they are present.
Signed-off-by: Ralph Boehme <slow@samba.org >
Cc: stable@vger.kernel.org
Signed-off-by: Steve French <stfrench@microsoft.com >
Signed-off-by: Sasha Levin <sashal@kernel.org >
2025-01-09 13:31:39 +01:00
..
2024-11-22 15:38:37 +01:00
2023-08-29 20:21:42 -07:00
2023-08-29 20:21:42 -07:00
2024-11-08 16:28:20 +01:00
2023-08-28 11:39:14 -07:00
2023-08-29 20:21:42 -07:00
2023-08-29 20:21:42 -07:00
2025-01-02 10:32:11 +01:00
2024-12-09 10:31:45 +01:00
2025-01-02 10:32:00 +01:00
2023-08-28 09:31:32 -07:00
2023-07-13 10:28:05 +02:00
2024-08-19 06:04:25 +02:00
2024-10-04 16:29:48 +02:00
2024-01-20 11:51:37 +01:00
2023-08-28 10:17:14 -07:00
2024-12-14 20:00:02 +01:00
2024-10-04 16:29:48 +02:00
2024-12-27 13:58:50 +01:00
2023-08-29 20:21:42 -07:00
2024-12-09 10:32:11 +01:00
2024-12-09 10:32:45 +01:00
2023-08-29 17:45:22 -04:00
2024-08-03 08:54:15 +02:00
2024-12-09 10:32:42 +01:00
2024-12-14 20:00:15 +01:00
2024-10-22 15:46:20 +02:00
2023-08-29 20:21:42 -07:00
2024-12-09 10:31:45 +01:00
2024-09-12 11:11:26 +02:00
2024-12-14 20:00:13 +01:00
2024-08-03 08:54:15 +02:00
2024-12-09 10:31:45 +01:00
2024-08-03 08:54:22 +02:00
2023-08-29 20:21:42 -07:00
2024-02-23 09:25:16 +01:00
2024-11-08 16:28:19 +01:00
2024-04-13 13:07:34 +02:00
2024-10-10 11:57:50 +02:00
2024-12-14 20:00:21 +01:00
2024-12-14 20:00:07 +01:00
2024-08-29 17:33:33 +02:00
2024-08-19 06:04:23 +02:00
2023-08-29 20:21:42 -07:00
2023-09-18 12:03:46 -07:00
2024-12-27 13:58:55 +01:00
2025-01-02 10:32:01 +01:00
2024-12-27 13:58:56 +01:00
2023-08-31 12:07:34 -05:00
2024-12-14 20:00:05 +01:00
2023-08-29 20:21:42 -07:00
2024-12-14 20:00:15 +01:00
2024-12-14 20:00:22 +01:00
2023-08-29 20:21:42 -07:00
2024-06-12 11:11:30 +02:00
2024-07-11 12:49:08 +02:00
2024-12-09 10:33:08 +01:00
2024-12-09 10:33:07 +01:00
2024-04-13 13:07:31 +02:00
2023-08-29 20:21:42 -07:00
2023-08-29 20:21:42 -07:00
2024-12-09 10:33:01 +01:00
2023-07-24 10:30:04 +02:00
2024-08-19 06:04:26 +02:00
2024-08-19 06:04:25 +02:00
2025-01-09 13:31:39 +01:00
2024-09-12 11:11:39 +02:00
2024-04-27 17:11:41 +02:00
2024-04-13 13:07:34 +02:00
2024-09-12 11:11:27 +02:00
2024-12-09 10:32:55 +01:00
2025-01-02 10:32:04 +01:00
2023-08-29 20:21:42 -07:00
2024-12-14 20:00:20 +01:00
2024-05-17 12:02:13 +02:00
2024-06-16 13:47:33 +02:00
2024-12-27 13:58:46 +01:00
2024-02-23 09:25:13 +01:00
2024-04-03 15:28:44 +02:00
2023-08-28 10:17:14 -07:00
2023-08-11 09:04:57 +02:00
2024-08-29 17:33:33 +02:00
2024-09-12 11:11:29 +02:00
2024-08-19 06:04:30 +02:00
2024-08-29 17:33:27 +02:00
2024-08-19 06:04:29 +02:00
2024-11-08 16:28:19 +01:00
2024-07-25 09:50:54 +02:00
2023-06-28 10:28:11 -07:00
2023-08-18 10:12:11 -07:00
2023-07-11 11:41:34 +02:00
2024-12-27 13:58:57 +01:00
2024-11-01 01:58:27 +01:00
2024-10-04 16:29:56 +02:00
2024-08-19 06:04:28 +02:00
2023-08-08 19:36:51 +02:00
2024-10-10 11:58:00 +02:00
2023-10-12 18:53:36 +03:00
2023-08-21 13:46:25 -07:00
2024-06-27 13:49:00 +02:00
2023-08-14 18:48:02 +02:00
2024-12-09 10:31:41 +01:00
2023-08-29 20:21:42 -07:00
2024-01-31 16:18:54 -08:00
2023-08-29 20:21:42 -07:00
2023-08-23 14:17:43 -07:00
2023-08-19 12:12:12 +02:00
2024-01-05 15:19:40 +01:00
2024-07-27 11:34:10 +02:00
2023-08-02 09:13:09 -06:00
2024-10-04 16:29:48 +02:00
2024-10-04 16:28:51 +02:00
2023-07-13 10:28:04 +02:00
2024-11-01 01:58:32 +01:00
2024-04-10 16:35:57 +02:00
2023-07-13 10:28:04 +02:00
2023-08-15 08:32:45 +02:00
2023-08-06 15:08:35 +02:00
2024-03-26 18:19:17 -04:00
2023-08-29 14:25:26 -07:00
2023-07-13 10:28:04 +02:00
2023-12-03 07:33:03 +01:00
2024-08-19 06:04:25 +02:00
2024-07-18 13:21:22 +02:00
2024-09-12 11:11:38 +02:00