As for our last permissions and access related methods, today we talk about the π°π΅πΌππ» method.
It lets you change the ownership of a file. Just like you're used to on your terminal:
π°π΅πΌππ» <π¨ππ²πΏ><:><ππΏπΌππ½> <ππΆπΉπ²>
π‘πΌπ±π²π·π provides support for it natively; so you won't have to spawn a process to access this API.
You can check the updated values with this basic list command:
πΉπ -πΉ <ππππ>
Did you learn something new today?
Like and share this post, and follow me for more!
Top comments (0)