2
0
Эх сурвалжийг харах

linux: Rewords Documentation for Owner/Group Param

Matthew Ellison 8 жил өмнө
parent
commit
497d14e427
1 өөрчлөгдсөн 4 нэмэгдсэн , 2 устгасан
  1. 4 2
      params_linux.go

+ 4 - 2
params_linux.go

@@ -16,11 +16,13 @@ type PlatformSpecificParams struct {
 	Persist bool
 
 	// ID of the user which will be granted ownership of the device.
-	// The default value of -1 specifies that any user may use the device.
+	// If set to a negative value, the owner value will not be changed.
+	// By default, Linux sets the owner to -1, which allows any user.
 	Owner int
 
 	// ID of the group which will be granted access to the device.
-	// The default value of -1 specifies that any group may use the device.
+	// If set to a negative value, the group value will not be changed.
+	// By default, Linux sets the group to -1, which allows any group.
 	Group int
 }