diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/chown2me.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/chown2me.c b/bin/chown2me.c index 6cb7c1e..88395b2 100644 --- a/bin/chown2me.c +++ b/bin/chown2me.c @@ -84,7 +84,7 @@ int main(){ strcat(fullpath,dir->d_name); fprintf(logfile_fd, "chown for %s\n", fullpath); // change owner to 1000 - int res = chown(fullpath, uid, gid); + int res = lchown(fullpath, uid, gid); if (res != 0){ perror("chown"); return res; |