mirror of
https://github.com/CTCaer/hekate.git
synced 2024-11-20 05:11:42 +00:00
nyx: sd part: set attributes to folders also on restore
This commit is contained in:
parent
5a88f7bc06
commit
6092994240
@ -189,6 +189,7 @@ static int _backup_and_restore_files(char *path, u32 *total_files, u32 *total_si
|
|||||||
{
|
{
|
||||||
f_chdrive(dst);
|
f_chdrive(dst);
|
||||||
f_mkdir(path);
|
f_mkdir(path);
|
||||||
|
f_chmod(path, fno.fattrib, 0xFF);
|
||||||
}
|
}
|
||||||
// Enter the directory.
|
// Enter the directory.
|
||||||
res = _backup_and_restore_files(path, total_files, total_size, dst, src, labels);
|
res = _backup_and_restore_files(path, total_files, total_size, dst, src, labels);
|
||||||
|
Loading…
Reference in New Issue
Block a user