[Bbs2ch-cvs 330] [312] 作成するフォルダの権限を 755 に統一

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2008年 1月 13日 (日) 04:54:11 JST


Revision: 312
          http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=bbs2ch&view=rev&rev=312
Author:   flyson
Date:     2008-01-13 04:54:11 +0900 (Sun, 13 Jan 2008)

Log Message:
-----------
作成するフォルダの権限を 755 に統一

Modified Paths:
--------------
    trunk/bbs2chreader/chrome/content/bbs2chreader/board/logMove.js
    trunk/bbs2chreader/chrome/content/bbs2chreader/components/b2rGlobalIO.js
    trunk/bbs2chreader/chrome/content/bbs2chreader/post/filter.js
    trunk/bbs2chreader/chrome/content/bbs2chreader/settings/thread-pane.js


-------------- next part --------------
Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/board/logMove.js
===================================================================
--- trunk/bbs2chreader/chrome/content/bbs2chreader/board/logMove.js	2008-01-12 08:48:19 UTC (rev 311)
+++ trunk/bbs2chreader/chrome/content/bbs2chreader/board/logMove.js	2008-01-12 19:54:11 UTC (rev 312)
@@ -77,7 +77,7 @@
 	}
 
 	if(!(gNewLogDir.exists() && gNewLogDir.isDirectory)){
-		gNewLogDir.create(gNewLogDir.DIRECTORY_TYPE, 0777);
+		gNewLogDir.create(gNewLogDir.DIRECTORY_TYPE, 0755);
 	}
 
 	gOldLogDirEntrieIterator = getDirEntries(gOldLogDir);

Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/components/b2rGlobalIO.js
===================================================================
--- trunk/bbs2chreader/chrome/content/bbs2chreader/components/b2rGlobalIO.js	2008-01-12 08:48:19 UTC (rev 311)
+++ trunk/bbs2chreader/chrome/content/bbs2chreader/components/b2rGlobalIO.js	2008-01-12 19:54:11 UTC (rev 312)
@@ -72,7 +72,7 @@
 
 		var dataDir = this._dataDir.clone().QueryInterface(Ci.nsILocalFile);
 		if(!dataDir.exists()){
-			dataDir.create(Ci.nsILocalFile.DIRECTORY_TYPE, 0666);
+			dataDir.create(Ci.nsILocalFile.DIRECTORY_TYPE, 0755);
 		}
 		return dataDir;
 	},

Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/post/filter.js
===================================================================
--- trunk/bbs2chreader/chrome/content/bbs2chreader/post/filter.js	2008-01-12 08:48:19 UTC (rev 311)
+++ trunk/bbs2chreader/chrome/content/bbs2chreader/post/filter.js	2008-01-12 19:54:11 UTC (rev 312)
@@ -35,7 +35,7 @@
 		var postFiltersProfileFolder = b2rService.io.getDataDir();
 		postFiltersProfileFolder.appendRelativePath("postFilters");
 		if(!postFiltersProfileFolder.exists()){
-			postFiltersProfileFolder.create(Ci.nsIFile.DIRECTORY_TYPE, 0777);
+			postFiltersProfileFolder.create(Ci.nsIFile.DIRECTORY_TYPE, 0755);
 		}
 		var entries = postFiltersProfileFolder.directoryEntries.QueryInterface(Ci.nsIDirectoryEnumerator);
 		while(true){

Modified: trunk/bbs2chreader/chrome/content/bbs2chreader/settings/thread-pane.js
===================================================================
--- trunk/bbs2chreader/chrome/content/bbs2chreader/settings/thread-pane.js	2008-01-12 08:48:19 UTC (rev 311)
+++ trunk/bbs2chreader/chrome/content/bbs2chreader/settings/thread-pane.js	2008-01-12 19:54:11 UTC (rev 312)
@@ -57,7 +57,7 @@
 		var skinDir = gBbs2chService.getDataDir();
 		skinDir.appendRelativePath("skin");
 		try{
-			if(!skinDir.exists()) skinDir.create(skinDir.DIRECTORY_TYPE, 0777);
+			if(!skinDir.exists()) skinDir.create(skinDir.DIRECTORY_TYPE, 0755);
 		}catch(ex){
 			return;
 		}


bbs2ch-cvs メーリングリストの案内
Back to archive index