linux-cli-community icon indicating copy to clipboard operation
linux-cli-community copied to clipboard

In "change_file_owner," use python library instead of shelling out to the OS.

Open cousinitt opened this issue 5 years ago • 0 comments

Rather than using "subprocess" to check the ownership, use the built-in library calls. Makes it a little shorter, and I changed some of the variable names to (hopefully) make them a bit more clear.

cousinitt avatar Jan 29 '21 02:01 cousinitt