[Gambas-devel] About .lock files

Oscar Lérida Monsó olerida at ...120...
Wed Apr 7 00:13:26 CEST 2004


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,

-- 





More information about the Devel mailing list