summaryrefslogtreecommitdiff
path: root/coreutils/chown.c
AgeCommit message (Collapse)Author
2006-01-30- add some ATTRIBUTE_UNUSED.Bernhard Reutner-Fischer
- use shorter boilerplate while at it.
2006-01-09Fix bug 603: "chown :root thingy" should work now.Rob Landley
2006-01-06No, we _want_ the suid and sgid bits reverted by chown, for security reasons.Rob Landley
They mean something different when the user they're switching to is different, so if you still want suid you reset it afterwards. This is a safety feature.
2005-09-20- rename libbb's password helpers as suggested in libbb.hBernhard Reutner-Fischer
my_getpwnam -> bb_xgetpwnam /* dies on error */ my_getgrnam -> bb_xgetgrnam /* dies on error */ my_getgrgid -> bb_getgrgid my_getpwuid -> bb_getpwuid my_getug -> bb_getug
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2003-09-24Add the "install" applet, move get_ug_id to libbb as its used by chown,Glenn L McGrath
chgrp and install.
2003-09-08Preserve suid/sgid bitsGlenn L McGrath
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-07-14Update a bunch of docs. Run a script to update my email addr.Eric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2003-02-08Patch from mathuria, compatability with solarisGlenn L McGrath
2001-12-20Remove `== TRUE' tests and convert `!= TRUE' and `== FALSE' tests to use !.Matt Kraai
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-07-10Cleanup from vodzEric Andersen
2001-05-11This patch from Lars Kellogg-Stedman, fixes the behavior ofEric Andersen
chown to be consistant with GNU chown, so that it follows symlinks (who cares about the perms on a link anyways?) unless the -h option is supplied. -Erik
2001-04-30These do not need initial values. Let them live in the bss.Eric Andersen
-Erik
2001-04-26Fix handling of -R flag.Matt Kraai
2001-04-26As Larry pointed out, this the off by one canbe fixed much more elegantly.Eric Andersen
2001-04-26Fix a silly off-by-one error noticed by Santiago Garcia Mantinan ↵Eric Andersen
<manty@debian.org> -Erik
2001-04-25Larry noticed that chown and chgrp has the version numbers off a bitEric Andersen
for glibc's lchown support. Thanks Larry.
2001-04-25Move messages.c to libbb. Make each string in messages.c be its own .o file.Eric Andersen
This way, we can new get rid of all that tedious #define rubbish we used to need to enable specific messages. This way is enormously simpler, and as a bonus also ends up saving us 96 bytes. -Erik
2001-04-24Split up chmod_chown_chgrp.c into 3 separate apps. This unfortunatelyEric Andersen
adds 384 bytes to the overall size. But having each app be standalone is the Right Thing(tm) so we will just have to live with it. -Erik
1999-10-13Combined stuffEric Andersen
1999-10-13More stuffEric Andersen
1999-10-13More stuffEric Andersen
1999-10-12Latest and greatest.Eric Andersen
-Erik
1999-10-06more stuffEric Andersen
1999-10-06latest and greatest.Eric Andersen
1999-10-05More stuff works.Eric Andersen
-Erik
1999-10-05Initial revision0_29alpha2Eric Andersen