Menu

Problems with cpio (2.6 and 2.5)

Help
Intruder73
2005-12-19
2012-07-26
  • Intruder73

    Intruder73 - 2005-12-19

    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

     
    • Nobody/Anonymous

      A new port, which fixes this problem, is available from http://gnuwin32.sourceforge.net/

       
      • Intruder73

        Intruder73 - 2006-02-22

        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

         
        • GnuWin

          GnuWin - 2006-03-09

          A new port, which fixes this problem, is available from http://gnuwin32.sourceforge.net

           
          • Intruder73

            Intruder73 - 2006-03-09

            Thanks.
            The permissions are fine now :))

             
    • Intruder73

      Intruder73 - 2006-01-04

      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