[Gambas-user] "Open example"
Benoit Minisini
gambas at ...1...
Wed Jan 21 19:21:29 CET 2004
On Tuesday 20 January 2004 18:05, Rob wrote:
> Hey Benoit, when you hit "open example" on your
> /opt/gambas-installed version of gambas, and select a project,
> and try to run it, do you get a write permissions error? Or do
> you have /opt/gambas/share/examples writable by everyone? I'm
> trying to figure out how to handle this behavior in my packages
> ("open examples" never worked before because I was dropping the
> symbolic link in the wrong place, so I never ran into this
> error.) I'm not crazy about making
> /usr/share/doc/gambas-doc-x.xx/examples world writable and
> hoping to come up with Another Way.
>
> Rob
>
When I do a make install, the examples directory have the following rights:
[root at ...40... gambas]# ls -la /opt/gambas/share/examples
total 2
drwxr-xr-x 26 root root 736 jan 21 19:19 ./
drwxr-xr-x 4 root root 96 jan 21 19:19 ../
drwxr-xr-x 3 root root 256 jan 21 19:19 AnalogWatch/
drwxr-xr-x 4 root root 328 jan 21 19:19 Blights/
drwxr-xr-x 3 root root 176 jan 21 19:19 ClientSocket/
drwxr-xr-x 4 root root 248 jan 21 19:19 Collection/
drwxr-xr-x 4 root root 304 jan 21 19:19 Console/
drwxr-xr-x 4 root root 496 jan 21 19:19 Database/
drwxr-xr-x 3 root root 176 jan 21 19:19 DnsClient/
drwxr-xr-x 4 root root 344 jan 21 19:19 Evaluator/
drwxr-xr-x 4 root root 448 jan 21 19:19 Explorer/
drwxr-xr-x 3 root root 168 jan 21 19:19 HTTPGet/
drwxr-xr-x 3 root root 168 jan 21 19:19 HTTPPost/
drwxr-xr-x 4 root root 312 jan 21 19:19 ImageViewer/
drwxr-xr-x 4 root root 376 jan 21 19:19 KateBrowser/
drwxr-xr-x 4 root root 600 jan 21 19:19 MoviePlayer/
.....
[root at ...40... gambas]# ls -la /opt/gambas/share/examples/AnalogWatch/
total 37
drwxr-xr-x 3 root root 256 jan 21 19:19 ./
drwxr-xr-x 26 root root 736 jan 21 19:19 ../
-rwxr-xr-x 1 root root 5035 jan 21 19:19 AnalogWatch*
-rw-r--r-- 1 root root 5250 jan 21 19:19 FrmClock.class
-rw-r--r-- 1 root root 5251 jan 21 19:19 FrmClock.class~
-rw-r--r-- 1 root root 525 jan 21 19:19 FrmClock.form
-rw-r--r-- 1 root root 541 jan 21 19:19 FrmClock.form~
drwxr-xr-x 2 root root 72 jan 21 19:19 .gambas/
-rw-r--r-- 1 root root 203 jan 21 19:19 .project
And I can run them without permissions error. I just can't modify the project
if I'm not root.
Regards,
--
Benoit Minisini
mailto:gambas at ...1...
More information about the User
mailing list