B
Brian Candler
Just a simple suggestion, but it would be really nice if File.chown could
take user and group *names* as well as numeric IDs.
It would simplify this:
File.chown(Etc.getpwnam("foo").uid, Etc.getgrnam("bar").gid, filename)
to this:
File.chown("foo", "bar", filename)
Seem reasonable?? There doesn't seem to be a chown in fileutils.rb either.
Regards,
Brian.
take user and group *names* as well as numeric IDs.
It would simplify this:
File.chown(Etc.getpwnam("foo").uid, Etc.getgrnam("bar").gid, filename)
to this:
File.chown("foo", "bar", filename)
Seem reasonable?? There doesn't seem to be a chown in fileutils.rb either.
Regards,
Brian.