You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: library/std/src/os/unix/fs.rs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -985,7 +985,7 @@ impl DirBuilderExt for fs::DirBuilder {
985
985
/// Changing the owner typically requires privileges, such as root or a specific capability.
986
986
/// Changing the group typically requires either being the owner and a member of the group, or
987
987
/// having privileges.
988
-
///
988
+
///
989
989
/// Be aware that changing owner clears the `suid` and `sgid` permission bits in most cases
990
990
/// according to POSIX, usually even if the user is root. The sgid is not cleared when
991
991
/// the file is non-group-executable. See: <https://www.man7.org/linux/man-pages/man2/chown.2.html>
0 commit comments