[Mono-winforms-list] CommonApplicationData directory on linux

Robert Jordan robertj at gmx.net
Sat Nov 18 13:22:30 EST 2006


Pavel Bansky wrote:
> Yes, I know that i can play with permissions. But my question is 
> principial - if its simply good idea stores data there from application.

Even on Windows CommonApplicationData is only writable by Admins
and Power Users, so it's usually a bad idea to expect that this
folder is writable. You may consult the Windows Logo requirements docs
about how these folders are intended to be used.

Robert


> 
> Dubravko Sever wrote:
>> Try to check dir premissions , by default /user/share does not have
>> write premissions for group.
>>
>>
>> D
>>
>>
>>
>>
>>
>>
>>
>> -----Original Message-----
>> From: mono-winforms-list-bounces at lists.ximian.com on behalf of Pavel
>> Bansky
>> Sent: Sat 18.11.2006 15:33
>> To: winforms
>> Subject: [Mono-winforms-list] CommonApplicationData directory on linux
>>  
>> hi all,
>>
>> i'am working on application that stores some data in 
>> Environment.SpecialFolder.CommonApplicationData everything works on 
>> windows. On linux application crashs because of CommonApplicationData 
>> points to /usr/share and my application can't write data in there.
>>
>> Is there some "Porting" guidelines about directories? Data I want to 
>> store should be used by all users - so store it in user dir is not the 
>> best way for me.
>>
>>   Thanks a lot for any suggestions
>>
>>
>>   Pavel
>>
> 



More information about the Mono-winforms-list mailing list