Question about File.chown

Hi, I would like to know if there is a way in Crystal to change the owner with the name?

As far as I know, not directly. But you could use System::Group - Crystal 1.7.2 and System::User - Crystal 1.7.2 to handle looking up their ID based on name. Maybe a .chown (and prob related methods) could have an overload that accepts String names and does it for you. I did a quick look and didn’t see any exists tickets about it at least.

Oh nice thanks !

Last question, is it possible to use this syntax as well with Crystal?

chmod  u+w