Better attributes with directories
This commit is contained in:
parent
98a7e48bca
commit
775d21a794
@ -1279,6 +1279,8 @@ handle_path_node:;
|
||||
dir= hdir;
|
||||
xorriso->volset_change_pending= 1;
|
||||
iso_node_set_ctime((IsoNode *) dir, time(NULL));
|
||||
iso_node_set_uid((IsoNode *) dir, geteuid());
|
||||
iso_node_set_gid((IsoNode *) dir, getegid());
|
||||
|
||||
/* >>> copy properties from correspondent directory in disk_path
|
||||
if there is any */;
|
||||
@ -1290,6 +1292,7 @@ attach_source:;
|
||||
/* directory node was created above */;
|
||||
|
||||
} else if(is_dir) {
|
||||
Xorriso_transfer_properties(xorriso, &stbuf, (IsoNode *) dir, 0);
|
||||
ret= Xorriso_add_tree(xorriso, dir, img_path, disk_path, NULL, 0);
|
||||
if(ret<=0)
|
||||
return(ret);
|
||||
|
@ -1 +1 @@
|
||||
#define Xorriso_timestamP "2008.01.21.221939"
|
||||
#define Xorriso_timestamP "2008.01.22.224321"
|
||||
|
Loading…
Reference in New Issue
Block a user