bug-cpio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-cpio] Ubuntu patch for cpio CAN-2005-1111 and CAN-2005-1229


From: Sergey Poznyakoff
Subject: Re: [Bug-cpio] Ubuntu patch for cpio CAN-2005-1111 and CAN-2005-1229
Date: Fri, 30 Sep 2005 15:45:13 EEST

Clint Adams <address@hidden> wrote:

> > http://patches.ubuntu.com/patches/cpio.CAN-2005-1111_1229.diff
[...]
> -      if (chmod (d->header.c_name, (int) d->header.c_mode) < 0)
> +      if (fchmod (out_file_des, (int) d->header.c_mode) < 0)

Thank you. However, fchmod is not in the POSIX standard, so the proposed
change breaks cpio portability.

I will try to find a workaround.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]