oops - copy perms from parent did the wrong thing. fix!
This commit is contained in:
parent
fdfef7ea06
commit
6ca9a6ecde
|
@ -11,7 +11,7 @@ util_file_mode_parent_copy(const char *file, Eina_Bool is_dir)
|
|||
char *s, *dir_parent = strdup(file);
|
||||
|
||||
if (!dir_parent) return;
|
||||
s = strrchr(file, '/');
|
||||
s = strrchr(dir_parent, '/');
|
||||
if (!s) goto err;
|
||||
s[1] = '\0'; // get parent dir by truncating after /
|
||||
if (lstat(dir_parent, &st) == 0)
|
||||
|
|
Loading…
Reference in New Issue