comp.lang.ada
 help / color / mirror / Atom feed
* Create in a root directory (Linux)
@ 2015-10-28 17:31 comicfanzine
  2015-10-28 20:12 ` Simon Wright
  2015-10-29  7:00 ` comicfanzine
  0 siblings, 2 replies; 8+ messages in thread
From: comicfanzine @ 2015-10-28 17:31 UTC (permalink / raw)


Hi ,
I want to create a file in a root directory : "/"
And of course i am root . How can i proceed ? i always get the error : "permission denied" .

Here is the code that i tried :

[code]WITH Ada.Text_IO ;  USE Ada.Text_IO ; 

PROCEDURE TestFichier IS

   MonFichier : File_type ; 
   
BEGIN 
   Create( MonFichier,Name => " /clone.adb");
   close(MonFichier);
END TestFichier ;


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-11-03 11:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-28 17:31 Create in a root directory (Linux) comicfanzine
2015-10-28 20:12 ` Simon Wright
2015-10-28 23:01   ` Paul Rubin
2015-10-29  6:41     ` comicfanzine
2015-10-29  6:50     ` comicfanzine
2015-10-29  7:00 ` comicfanzine
2015-11-01 14:23   ` Kevin K
2015-11-03 11:12   ` M. Strobel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox