Better attributes with directories

This commit is contained in:
Thomas Schmitt 2008-01-22 22:44:17 +00:00
parent 111c881730
commit 8ad70686e4
2 changed files with 4 additions and 1 deletions

View File

@ -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);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.01.21.221939"
#define Xorriso_timestamP "2008.01.22.224321"