digitalmars.D.learn - about std.file.copy
- bioinfornatics (6/6) Jun 24 2012 Hi,
- bioinfornatics (5/15) Jun 24 2012 fixed by doing
Hi, I want to copy a file with executable mode (755 on UNIX) to another location. when i use std.file.copy original is into 755 bot not the copied file!=20 The are a way to save the mode ? thanks
Jun 24 2012
Le dimanche 24 juin 2012 =C3=A0 22:38 +0200, bioinfornatics a =C3=A9crit :Hi, =20 I want to copy a file with executable mode (755 on UNIX) to another location. when i use std.file.copy original is into 755 bot not the copied file!=20 =20 The are a way to save the mode ? =20 thanks =20fixed by doing version( Posix ) chmod( dest.toStringz, S_IRUSR| S_IWUSR| S_IXUSR | S_IRGRP| S_IXGRP| S_IROTH | S_IXOTH );
Jun 24 2012