View Issue Details

IDProjectCategoryView StatusLast Update
0000808Ecere SDKidepublic2016-04-19 05:29
Reporterredj Assigned To 
PriorityimmediateSeverityfeatureReproducibilityN/A
Status newResolutionopen 
Product Version0.44.07 
Target Version0.46 eC II 
Summary0000808: add some special logic to copy the project to ~/ if there is no writing permission
Descriptionadd some special logic to copy the project to ~/ if there is no writing permission
TagsNo tags attached.

Activities

2013-05-21 12:53

 

makefile.diff (985 bytes)   
diff --git a/Makefile b/Makefile
index 8c6c755..705470f 100644
--- a/Makefile
+++ b/Makefile
@@ -575,10 +575,10 @@ endif
 	cp -pRf share/man/man1/* $(MANDIR)/man1
 	mkdir -p $(SAMPLESDIR)
 	cp -pRf samples/* $(SAMPLESDIR)
-	find $(SAMPLESDIR) -type d -exec chmod 777 {} \;
+	find $(SAMPLESDIR) -type d -exec chmod 755 {} \;
 	mkdir -p $(EXTRASDIR)
 	cp -pRf extras/* $(EXTRASDIR)
-	chmod 777 $(EXTRASDIR)/audio
+	chmod 755 $(EXTRASDIR)/audio
 endif
 
 ifndef OSX_TARGET
@@ -648,10 +648,10 @@ endif
 	cp -pRf share/man/man1/* $(MANDIR)/man1
 	mkdir -p $(SAMPLESDIR)
 	cp -pRf samples/* $(SAMPLESDIR)
-	find $(SAMPLESDIR) -type d -exec chmod 777 {} \;
+	find $(SAMPLESDIR) -type d -exec chmod 755 {} \;
 	mkdir -p $(EXTRASDIR)
 	cp $(CPFLAGS) extras/* $(EXTRASDIR)
-	chmod 777 $(EXTRASDIR)/audio
+	chmod 755 $(EXTRASDIR)/audio
 ifdef DEBIAN_PACKAGE
 	mkdir -p $(DESTDIR)$(prefix)/share/doc/libecere0
 	install $(INSTALL_FLAG) -m644 NEWS $(DESTDIR)$(prefix)/share/doc/libecere0/changelog
makefile.diff (985 bytes)   

rnsanchez

2013-05-21 12:53

reporter   ~0000841

In the meantime, we need to fix those 777 permissions. (diff attached)

Issue History

Date Modified Username Field Change
2013-04-24 04:05 redj New Issue
2013-04-24 20:19 jerome Priority normal => immediate
2013-05-21 12:53 rnsanchez File Added: makefile.diff
2013-05-21 12:53 rnsanchez Note Added: 0000841
2016-04-19 05:29 jerome Target Version 0.44.12 Fixes => 0.46 eC II