[Gambas-devel] About .lock files

Benoit Minisini gambas at ...1...
Wed Apr 7 22:05:31 CEST 2004


On Wednesday 07 April 2004 00:13, Oscar Lérida Monsó wrote:
> Hello,
>
> When you opens a project with new version 0.92, gambas intends to write
> the .lock file on current project folder.
>
> When a normal user intends to open a example application, the user
> obtains the following message: "Access forbidden", because gambas can't
> write the .lock file (the normal user don't have permission to write on
> examples folder).
>
> I think that to write the .lock file on /var/lock or /tmp with name
> ProjectName.lock or something similar is better. But if the user don't
> have permission to write on project folder then .lock file isn't needed
> (or yes?), because user can't modify project. Can to be one solution,
> make .lock file only when the user has permission to write?
>
> What about this?
>
> Thanks,

You are right. The IDE should detect a read-only project, and prevent locking 
in this case.

Regards,

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the Devel mailing list