[Gambas-user] how to start a file?

Doriano Blengino doriano.blengino at ...1909...
Mon Sep 28 17:04:42 CEST 2009


Benoît Minisini ha scritto:
>> Hi,
>>
>> Probably I'll try to do it directly with the files as you told.
>> About the project: it is a small project follower with different users. And
>> I only want to make the files accesible for those who participate in the
>> project. So it isn't possible to define on the system level. The best could
>> have been to have a password for the main folder so the users could access
>> the files only through my application.
>>     
>
> That does not work like that : rights are based on user identity. A human user 
> usually changes his identity only for becoming root for doing administrative 
> tasks.
>
> To do what you want, you have to create a group for your project, adds to the 
> group all users that should access these files, and grant to the files read 
> and write access only to the group and the owner.
>
> You do the same thing to grant access to a device only for specific users. A 
> group for cdroms, cdwriters, parallel ports devices, and so on. Only members 
> of these groups can use the device.
>   
Or you can give the files the root owner (or whatever else), and access 
those files exclusively with your gambas application, makind it SUID (is 
this possible, Benoit? I mean - a SUID bytecode; probably not).

Regards,
Doriano




More information about the User mailing list