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 ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user