Darrick J. Wong
e610e856b9
xfs: fix scrub stats file permissions
...
When the kernel is in lockdown mode, debugfs will only show files that
are world-readable and cannot be written, mmaped, or used with ioctl.
That more or less describes the scrub stats file, except that the
permissions are wrong -- they should be 0444, not 0644. You can't write
the stats file, so the 0200 makes no sense.
Meanwhile, the clear_stats file is only writable, but it got mode 0400
instead of 0200, which would make more sense.
Fix both files so that they make sense.
Fixes: d7a74cad8f ("xfs: track usage statistics of online fsck")
Signed-off-by: "Darrick J. Wong" <djwong@kernel.org >
Reviewed-by: Christoph Hellwig <hch@lst.de >
Signed-off-by: Chandan Babu R <chandanbabu@kernel.org >
2024-02-26 17:58:37 +05:30
..
2023-12-15 10:03:30 -08:00
2024-02-22 12:43:37 -08:00
2024-02-22 12:40:49 -08:00
2024-02-22 12:39:46 -08:00
2024-02-22 12:40:12 -08:00
2023-12-15 10:03:32 -08:00
2023-12-29 13:37:05 +05:30
2023-04-11 19:00:33 -07:00
2024-02-22 12:43:37 -08:00
2024-02-22 12:43:37 -08:00
2024-02-22 12:39:45 -08:00
2024-02-22 12:43:36 -08:00
2024-02-22 12:40:57 -08:00
2023-05-26 13:52:19 -07:00
2024-02-22 12:43:40 -08:00
2024-02-22 12:43:38 -08:00
2024-02-13 18:07:34 +05:30
2023-04-11 19:00:00 -07:00
2023-04-11 18:59:57 -07:00
2024-02-22 12:30:49 -08:00
2023-12-15 10:03:45 -08:00
2023-12-15 10:03:38 -08:00
2024-02-22 12:33:05 -08:00
2024-02-22 12:33:05 -08:00
2024-02-22 12:33:05 -08:00
2024-02-22 12:39:48 -08:00
2024-02-22 12:39:48 -08:00
2024-02-22 12:40:49 -08:00
2024-02-22 12:40:51 -08:00
2024-02-22 12:45:01 -08:00
2023-12-15 10:03:36 -08:00
2024-02-22 12:40:49 -08:00
2024-02-22 12:30:51 -08:00
2024-02-22 12:43:38 -08:00
2024-02-22 12:43:38 -08:00
2024-02-22 12:31:00 -08:00
2024-02-22 12:31:00 -08:00
2024-02-22 12:31:00 -08:00
2023-12-15 10:03:40 -08:00
2023-12-15 10:03:37 -08:00
2023-12-15 10:03:45 -08:00
2023-12-15 10:03:45 -08:00
2023-12-15 10:03:45 -08:00
2024-02-22 12:30:57 -08:00
2024-02-22 12:30:57 -08:00
2024-02-22 12:30:57 -08:00
2024-02-22 12:43:41 -08:00
2024-02-22 12:43:41 -08:00
2024-02-22 12:43:41 -08:00
2024-02-22 12:43:41 -08:00
2024-02-19 21:19:33 +05:30
2023-04-11 19:00:17 -07:00
2024-02-22 12:43:38 -08:00
2023-12-15 10:03:38 -08:00
2024-02-22 12:43:42 -08:00
2024-02-22 12:43:42 -08:00
2024-02-22 12:43:40 -08:00
2024-02-22 12:43:42 -08:00
2024-02-22 12:43:40 -08:00
2024-02-22 12:43:38 -08:00
2023-12-15 10:03:43 -08:00
2024-01-30 14:04:43 +05:30
2023-12-15 10:03:43 -08:00
2024-02-21 11:36:53 +05:30
2024-02-22 12:43:40 -08:00
2024-02-22 12:43:40 -08:00
2024-02-26 17:58:37 +05:30
2023-08-10 07:48:07 -07:00
2024-02-22 12:45:17 -08:00
2024-02-22 12:43:40 -08:00
2024-02-22 12:43:40 -08:00
2024-02-21 11:36:55 +05:30
2024-02-22 12:30:54 -08:00
2024-02-21 11:36:56 +05:30
2024-02-21 11:36:56 +05:30
2023-04-11 18:59:57 -07:00