diff options
| author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-21 14:41:33 +0000 |
|---|---|---|
| committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-07-21 14:41:33 +0000 |
| commit | d73cbd31a295ac757e59f129f162d9cd69440224 (patch) | |
| tree | 53d9c4cff7223be124698ec8cc3ccba4bded52eb /coreutils | |
| parent | a53de7f7c2cd3ac46b26642aafb1a573a096a80d (diff) | |
| download | busybox-w32-d73cbd31a295ac757e59f129f162d9cd69440224.tar.gz busybox-w32-d73cbd31a295ac757e59f129f162d9cd69440224.tar.bz2 busybox-w32-d73cbd31a295ac757e59f129f162d9cd69440224.zip | |
- first pass to unify/cleanup uid handling (-236b)
This needs further love, alot of love.. Tito?
Diffstat (limited to 'coreutils')
| -rw-r--r-- | coreutils/install.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/coreutils/install.c b/coreutils/install.c index c5d7a0cc5..c7ddbb214 100644 --- a/coreutils/install.c +++ b/coreutils/install.c | |||
| @@ -170,7 +170,7 @@ int install_main(int argc, char **argv) | |||
| 170 | 170 | ||
| 171 | /* Set the file mode */ | 171 | /* Set the file mode */ |
| 172 | if ((flags & OPT_MODE) && chmod(dest, mode) == -1) { | 172 | if ((flags & OPT_MODE) && chmod(dest, mode) == -1) { |
| 173 | bb_perror_msg("cannot change permissions of %s", dest); | 173 | bb_perror_msg("can't change %s of %s", "permissions", dest); |
| 174 | ret = EXIT_FAILURE; | 174 | ret = EXIT_FAILURE; |
| 175 | } | 175 | } |
| 176 | #if ENABLE_SELINUX | 176 | #if ENABLE_SELINUX |
| @@ -181,7 +181,7 @@ int install_main(int argc, char **argv) | |||
| 181 | if ((flags & (OPT_OWNER|OPT_GROUP)) | 181 | if ((flags & (OPT_OWNER|OPT_GROUP)) |
| 182 | && lchown(dest, uid, gid) == -1 | 182 | && lchown(dest, uid, gid) == -1 |
| 183 | ) { | 183 | ) { |
| 184 | bb_perror_msg("cannot change ownership of %s", dest); | 184 | bb_perror_msg("can't change %s of %s", "ownership", dest); |
| 185 | ret = EXIT_FAILURE; | 185 | ret = EXIT_FAILURE; |
| 186 | } | 186 | } |
| 187 | if (flags & OPT_STRIP) { | 187 | if (flags & OPT_STRIP) { |
