mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
Vladimir N. Oleynik writes:
Hi. Last changes (rev 1.12) to recursive_actions() by Christian Grigis have problem. Test for demonstrate: $ mkdir aaa bbb ccc $ su # chown root bbb # chmod 700 bbb # exit $ busybox chmod 777 -R . ./bbb: Permision denied But "./ccc" mode not changed. Previous variant works fine, errors skiped and continued recursion. --w vodz
This commit is contained in:
parent
57a0d9156c
commit
66a56aa028
@ -100,7 +100,7 @@ int recursive_action(const char *fileName,
|
||||
return FALSE;
|
||||
}
|
||||
status = TRUE;
|
||||
while (status && (next = readdir(dir)) != NULL) {
|
||||
while ((next = readdir(dir)) != NULL) {
|
||||
char *nextFile;
|
||||
|
||||
nextFile = concat_subpath_file(fileName, next->d_name);
|
||||
|
Loading…
Reference in New Issue
Block a user