Summary: chown: I was doing something stupid

From: Jay Maynard <jmaynard_at_admin5.hsc.uth.tmc.edu>
Date: Thu, 3 Aug 1995 19:28:39 -0500 (CDT)

I shoulda RTFMP (manpage) before posting here... Thanks to Jon Reeves,
reeves_at_zk3.dec.com, and Jim Palfreyman, jim_at_orac.ecc.tased.edu.au, for
setting me straight quickly and politely: In a Unix system with quotas,
chown can only be executed by the superuser. Most of my Unix experience is
at the SystemVr2 level, which didn't have quotas...

I don't use quotas on this system, so I'll probably whip up a suid program
that does chown in the way I'm used to seeing: if you own the file, you can
chown it.

One complaint: The error message could be a little less confusing: telling
the user "Not owner" when he is, in fact, the file's owner and that's not
the real problem is less than helpful.
-- 
Jay Maynard, EMT-P, K5ZC, PP-ASEL | Never ascribe to malice that which can
http://k5zc.hsc.uth.tmc.edu       | adequately be explained by stupidity.
   "These signposts will guide us, Pinky. Glade of Woe...no...Chasm of
      Despair...no...Pit of Barbecue...maybe later..." -- The Brain
Received on Fri Aug 04 1995 - 02:45:50 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:45 NZDT