Lines 280-285
Link Here
|
280 |
FileBase::RC rc = Directory::create(aUserPath); |
280 |
FileBase::RC rc = Directory::create(aUserPath); |
281 |
if ((rc != FileBase::E_None) && (rc != FileBase::E_EXIST)) return UserInstall::E_Creation; |
281 |
if ((rc != FileBase::E_None) && (rc != FileBase::E_EXIST)) return UserInstall::E_Creation; |
282 |
|
282 |
|
|
|
283 |
#ifdef UNIX |
284 |
// set safer permissions for the user directory by default |
285 |
File::setAttributes(aUserPath, Attribute_OwnWrite| Attribute_OwnRead| Attribute_OwnExe); |
286 |
#endif |
287 |
|
283 |
// copy data from shared data directory of base installation |
288 |
// copy data from shared data directory of base installation |
284 |
for (sal_Int32 i=0; pszSrcList[i]!=NULL && pszDstList[i]!=NULL; i++) |
289 |
for (sal_Int32 i=0; pszSrcList[i]!=NULL && pszDstList[i]!=NULL; i++) |
285 |
{ |
290 |
{ |