(38 lines)
1 '\" t2 .\" Copyright (c) 2026 Bruce Hill3 .\" All rights reserved.4 .\"5 .TH Path.set_owner 3 2026-03-08 "Tomo man-pages"6 .SH NAME7 Path.set_owner \- set the owner8 .SH LIBRARY9 Tomo Standard Library10 .SH SYNOPSIS11 .nf12 .BI Path.set_owner\ :\ func(path:\ Path,\ owner:\ Text?\ =\ none,\ group:\ Text?\ =\ none,\ follow_symlinks:\ Bool\ =\ yes\ ->\ Result)13 .fi14 .SH DESCRIPTION15 Set the owning user and/or group for a path.18 .SH ARGUMENTS20 .TS21 allbox;22 lb lb lbx lb23 l l l l.24 Name Type Description Default25 path Path The path to change the permissions for. -26 owner Text? If non-none, the new user to assign to be the owner of the file. none27 group Text? If non-none, the new group to assign to be the owner of the file. none28 follow_symlinks Bool Whether to follow symbolic links. yes29 .TE30 .SH RETURN31 Either `Success` or `Failure(reason)`.33 .SH EXAMPLES34 .EX35 (./file.txt).set_owner(owner="root", group="wheel")!36 .EE37 .SH SEE ALSO38 .BR Tomo-Path (3)