From 8ad70686e4124b1eada85599c83b691b31668409 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Tue, 22 Jan 2008 22:44:17 +0000 Subject: [PATCH] Better attributes with directories --- test/ng_xorrisoburn.c | 3 +++ test/xorriso_timestamp.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/test/ng_xorrisoburn.c b/test/ng_xorrisoburn.c index fbc0e69a..4d70394c 100644 --- a/test/ng_xorrisoburn.c +++ b/test/ng_xorrisoburn.c @@ -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); diff --git a/test/xorriso_timestamp.h b/test/xorriso_timestamp.h index 2292f56e..285e899c 100644 --- a/test/xorriso_timestamp.h +++ b/test/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.01.21.221939" +#define Xorriso_timestamP "2008.01.22.224321"