New -osirrox option auto_chmod_on
This commit is contained in:
@ -3047,9 +3047,7 @@ much_too_long:;
|
||||
goto was_problem;
|
||||
|
||||
if(stbuf_ret!=-1) { /* (Can only happen with directory) */
|
||||
|
||||
/* ??? >>> eventually open access to existing directory ? */;
|
||||
|
||||
Xorriso_auto_chmod(xorriso, disk_path, 0);
|
||||
} else {
|
||||
hflag= 4 | (flag & (2|64));
|
||||
if(source_is_dir && !do_not_dive)
|
||||
@ -3237,9 +3235,7 @@ int Xorriso_restore(struct XorrisO *xorriso,
|
||||
}
|
||||
new_dir_made= 1;
|
||||
} else if(source_is_dir && !source_is_split) {
|
||||
|
||||
/* >>> If owner: eventually try to obtain rwx-permssions, stack path */;
|
||||
|
||||
Xorriso_auto_chmod(xorriso, disk_path, 0);
|
||||
}
|
||||
if(done) {
|
||||
attach_source:;
|
||||
|
Reference in New Issue
Block a user