Commit | Line | Data |
---|---|---|
99c3da2c FF |
1 | diff -u -r ../dpkg-1.18.2/src/statcmd.c ./src/statcmd.c |
2 | --- ../dpkg-1.18.2/src/statcmd.c 2015-07-12 22:38:47.000000000 -0400 | |
3 | +++ ./src/statcmd.c 2015-08-25 18:07:59.388890175 -0400 | |
4 | @@ -161,8 +161,10 @@ | |
5 | static void | |
6 | statdb_node_apply(const char *filename, struct file_stat *filestat) | |
7 | { | |
8 | +#ifndef __ANDROID__ | |
9 | if (chown(filename, filestat->uid, filestat->gid) < 0) | |
10 | ohshite(_("error setting ownership of '%.255s'"), filename); | |
11 | +#endif | |
12 | if (chmod(filename, filestat->mode & ~S_IFMT)) | |
13 | ohshite(_("error setting permissions of '%.255s'"), filename); | |
14 |