[Scilab-users] file permission and demo_gui()
Jean-Yves Baudais
Jean-Yves.Baudais at insa-rennes.fr
Wed Dec 23 19:40:50 CET 2020
> You might do and test the following:
>
> 1. replace the copyfile instruction with a mgetl + mputl combination: // r =
> copyfile(File, File2); r = mgetl ( File ) ; mputl ( r , File2 ) ;
> 2. exec demo_gui.sci to update it
> 3. Remove demo_gui_dockable . xml in TMPDIR, or just exit and run a new session
> (so with a new TMPDIR)
> 4. run demo_gui(), and play with its dockable preferences.
>
> If it works, i will push a patch for Scilab 6.1.1. Anyway the copyfile issue
> would have to be addressed. Since copyfile() is used 18 times within Scilab,
> other issues elsewhere could be expected. At least, the fact that permissions
> are kept should be documented in the copyfile help page.
For me, it's ok and now demo_gui() works: The permission of the demo_gui_dockable.xml file in TMPDIR is now read and write.
--
Jean-Yves
More information about the users
mailing list