Re: [PATCH] Use a hash rather than a linked-list for cycle check in cp

2008-04-29 Thread Cai Xianchao
> Hi Bo, > > Thanks for that patch. > > However, let's see if Cai Xianchao and Li Zefan > are still working on rewriting cp to use openat-style functions. > I am sorry for replying so late. :-[ I am busy recently, so the development speed is very slow. I have fi

How can i change high level of a file in the target security context

2008-07-17 Thread Cai Xianchao
Hi all, I run as root and used chcon -l to set range of a file, but it failed and there was error message output. I did as follows: #uname -r 2.6.18-92.el5 #sestatus SELinux status: enabled SELinuxfs mount:/selinux Current mode: enforcing Mode f

Re: How can i change high level of a file in the target security context

2008-07-20 Thread Cai Xianchao
Jim Meyering said the following on 2008-07-19 22:18: > Cai Xianchao <[EMAIL PROTECTED]> wrote: > >> I run as root and used chcon -l to set range of a file, but it failed and >> there was error message output. >> >> >> I did as follows: >> #unam

Re: [PATCH]cp --recursive fails unnecessarily when the names of the latter approach become very long

2007-12-05 Thread Cai Xianchao
Jim Meyering 写道: Cai Xianchao <[EMAIL PROTECTED]> wrote: The file TODO described a bug of cp (package:coreutils-6.9): "cp --recursive: perform dir traversals in source and dest hierarchy rather than forming full file names. The latter (current) approach fails unnecessarily whe

Re: [PATCH]cp --recursive fails unnecessarily when the names of the latter approach become very long

2007-12-06 Thread Cai Xianchao
Jim Meyering 写道: Cai Xianchao <[EMAIL PROTECTED]> wrote: Thanks for your advice. We do not need the forms now. We will pursue this work and write a copyright assignment on file after we have improved the patch. Be aware that it can take several weeks for an assignment to be pro

Our thought about fixing the problem of cp --recursive

2007-12-27 Thread Cai Xianchao
hi, Jim We decide to take your suggestion after researching fts and remove.c. Use fts to perform the source-tree traversal and traverse the destination tree by keeping two file descriptors. Thank you for your suggestion. :-) But we find some problems during our research. There are some coreut