What i am trying to do is to build a cpio-archive under Windows and extract it under Unix. With the 2.6-Version i have the Problem, that the cpio-archive builded under Windows seems to have the LF converted to CR/LF which is not the way it should work. With the 2.5-Version i have the problem, that the permissions of the directories in the archive are only 666 - not 777 as i would expect. So when i try to extract the archive under Unix the directory is created and then the user has no more ricghts on the created directory.
I would try to fix the problems myself, but i am not able to build cpio as a native windows-application.
Is there anyone that can help me with these problems?
Thanks
Intruder73
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The permissions used in the cpio-file für directories are 666 and should be 777. Otherwise the directory is not writeable under UNIX and the cpio-archive cannot be extracted.
Is it possible to fix the directory-permissions?
Thanks in advance
Joerg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks Nobody ;), the CR/LF-Problem seems to be solved.
Is it possible to also fix the directory-permissions?
The permissions used in the cpio-file are 666 and should be 777. Otherwise the directory is not writeable under UNIX.
Thanks in advance
Joerg
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
What i am trying to do is to build a cpio-archive under Windows and extract it under Unix.
With the 2.6-Version i have the Problem, that the cpio-archive builded under Windows seems to have the LF converted to CR/LF which is not the way it should work.
With the 2.5-Version i have the problem, that the permissions of the directories in the archive are only 666 - not 777 as i would expect. So when i try to extract the archive under Unix the directory is created and then the user has no more ricghts on the created directory.
I would try to fix the problems myself, but i am not able to build cpio as a native windows-application.
Is there anyone that can help me with these problems?
Thanks
Intruder73
A new port, which fixes this problem, is available from http://gnuwin32.sourceforge.net/
The permissions used in the cpio-file für directories are 666 and should be 777. Otherwise the directory is not writeable under UNIX and the cpio-archive cannot be extracted.
Is it possible to fix the directory-permissions?
Thanks in advance
Joerg
A new port, which fixes this problem, is available from http://gnuwin32.sourceforge.net
Thanks.
The permissions are fine now :))
Thanks Nobody ;), the CR/LF-Problem seems to be solved.
Is it possible to also fix the directory-permissions?
The permissions used in the cpio-file are 666 and should be 777. Otherwise the directory is not writeable under UNIX.
Thanks in advance
Joerg