* EOAccess/EOModel.m (writeToFile:): Use the default permissions

on .eomodeld files.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@23537 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Matt Rice 2006-09-16 21:34:10 +00:00
parent 45d6b72c04
commit 4394a323d0
2 changed files with 6 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2006-09-16 Matt Rice <ratmice@yahoo.com>
* EOAccess/EOModel.m (writeToFile:): Use the default permissions
on .eomodeld files.
2006-09-16 Matt Rice <ratmice@yahoo.com>
* DBModeler/Resources/AllowsNull_On.tiff: New file.

View file

@ -604,7 +604,6 @@ NSString *EOEntityLoadedNotification = @"EOEntityLoadedNotification";
{
NSFileManager *mgr = [NSFileManager defaultManager];
NSMutableDictionary *pList;
NSDictionary *attributes;
NSDictionary *entityPList;
NSDictionary *stProcPList;
NSEnumerator *entityEnum;
@ -660,12 +659,8 @@ NSString *EOEntityLoadedNotification = @"EOEntityLoadedNotification";
[self encodeIntoPropertyList: pList];
attributes = [NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithUnsignedLong: 0777], NSFilePosixPermissions,
nil];
if (writeSingleFile == NO
&& [mgr createDirectoryAtPath: path attributes: attributes] == NO)
&& [mgr createDirectoryAtPath: path attributes: nil] == NO)
{
NSString *fmt;
fmt = [NSString stringWithFormat: @"Could not create directory: %@",