tools/xenpaging: install directory with default permission
PATCH 1/1 tools/xenpaging: install directory with default permission
There is no need to explicitly ask for 700.
--- tools/xenpaging/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/xenpaging/Makefile +1 -1
@@ -24,7 +24,7 @@ xenpaging: $(OBJS) $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) $(APPEND_LDFLAGS) install: all - $(INSTALL_DIR) -m 0700 $(DESTDIR)$(XEN_PAGING_DIR) + $(INSTALL_DIR) $(DESTDIR)$(XEN_PAGING_DIR) $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) $(INSTALL_PROG) $(IBINS) $(DESTDIR)$(LIBEXEC_BIN)
Signature · 1 line
2.1.4
Quoted 1 line · Wei Liu
There is no need to explicitly ask for 700.
Is the rationale for 0700 explicitly not that the files in here will contain possibly sensitive date from guest memory?
i.e. the use of something other than the default is deliberate.
If you think that is wrong then I think the changelog should explain why.
Quoted 18 lines
Signed-off-by Wei Liu <[email protected]>--- tools/xenpaging/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/xenpaging/Makefile +1
-1@@ -24,7 +24,7 @@ xenpaging: $(OBJS) $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) $(APPEND_LDFLAGS) install: all - $(INSTALL_DIR) -m 0700 $(DESTDIR)$(XEN_PAGING_DIR) + $(INSTALL_DIR) $(DESTDIR)$(XEN_PAGING_DIR) $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) $(INSTALL_PROG) $(IBINS) $(DESTDIR)$(LIBEXEC_BIN)
Quoted 8 lines · Ian Campbell
Quoted 1 line · Wei Liu
There is no need to explicitly ask for 700.
Is the rationale for 0700 explicitly not that the files in here will contain possibly sensitive date from guest memory?
i.e. the use of something other than the default is deliberate.
You're right. Please ignore this patch.
Wei.
Quoted 21 lines
If you think that is wrong then I think the changelog should explain why.
Quoted 18 lines
Signed-off-by Wei Liu <[email protected]>--- tools/xenpaging/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tools/xenpaging/Makefile +1
-1@@ -24,7 +24,7 @@ xenpaging: $(OBJS) $(CC) $(LDFLAGS) -o $@ $^ $(LDLIBS) $(APPEND_LDFLAGS) install: all - $(INSTALL_DIR) -m 0700 $(DESTDIR)$(XEN_PAGING_DIR) + $(INSTALL_DIR) $(DESTDIR)$(XEN_PAGING_DIR) $(INSTALL_DIR) $(DESTDIR)$(LIBEXEC_BIN) $(INSTALL_PROG) $(IBINS) $(DESTDIR)$(LIBEXEC_BIN)