|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
owner and sticky bit problemDebian Lenny
cpio (GNU cpio) 2.9 Hello, I am trying to clone the root-partition with for packing: find . -depth -xdev ! -path "./hda1/*" ! -path "./sicher/*" ! -path "./lost+found/*" | cpio -a -o -H crc -V > /hda1/sicher/hdc1-21-08-08.cpio for unpacking: cpio -i -d -m --no-absolute-filenames < ./sicher/hdc1-21-08-08.cpio This has been working under SuSE 9.3/ cpio 2.5 and Debian/Etch perfectly. The following problems occurred: For /tmp and /var/tmp the sticky bit is not being copied. All the homes belong to root:root with 755 instead of user:users. Did I use wrong parameters? Thank you for helping. Bernd Kloss _______________________________________________ Bug-cpio mailing list Bug-cpio@... http://lists.gnu.org/mailman/listinfo/bug-cpio |
|
|
Re: owner and sticky bit problemBernd Kloss wrote:
> The following problems occurred: > > For /tmp and /var/tmp the sticky bit is not being copied. > > All the homes belong to root:root with 755 instead of user:users. Hi, several months ago I ran into this too. (And it's known before that.) To work around, omit "-depth" in your find command; this loses timestamps of directories but sets bits right (if directories are created new during unpacking). (For reference, http://lists.gnu.org/archive/html/bug-cpio/2008-04/threads.html#00000 ) _______________________________________________ Bug-cpio mailing list Bug-cpio@... http://lists.gnu.org/mailman/listinfo/bug-cpio |
|
|
Re: owner and sticky bit problemAm Montag, 25. August 2008 schrieb Albert Y. C. Lai:
> Bernd Kloss wrote: > > The following problems occurred: > > > > For /tmp and /var/tmp the sticky bit is not being copied. > > > > All the homes belong to root:root with 755 instead of user:users. > > Hi, several months ago I ran into this too. (And it's known before > that.) To work around, omit "-depth" in your find command; this loses > timestamps of directories but sets bits right (if directories are > created new during unpacking). > > (For reference, > http://lists.gnu.org/archive/html/bug-cpio/2008-04/threads.html#00000 > ) > > > > _______________________________________________ > Bug-cpio mailing list > Bug-cpio@... > http://lists.gnu.org/mailman/listinfo/bug-cpio Thank you! Working fine now. Will they fix that bug? Regards Bernd _______________________________________________ Bug-cpio mailing list Bug-cpio@... http://lists.gnu.org/mailman/listinfo/bug-cpio |
|
|
Re: owner and sticky bit problemOn Mon, Aug 25, 2008 at 10:00 PM, Bernd Kloss <b_kloss@...> wrote:
> Am Montag, 25. August 2008 schrieb Albert Y. C. Lai: >> Bernd Kloss wrote: >> > The following problems occurred: >> > >> > For /tmp and /var/tmp the sticky bit is not being copied. >> > >> > All the homes belong to root:root with 755 instead of user:users. >> >> Hi, several months ago I ran into this too. (And it's known before >> that.) To work around, omit "-depth" in your find command; this loses >> timestamps of directories but sets bits right (if directories are >> created new during unpacking). >> >> (For reference, >> http://lists.gnu.org/archive/html/bug-cpio/2008-04/threads.html#00000 >> ) >> >> >> >> _______________________________________________ >> Bug-cpio mailing list >> Bug-cpio@... >> http://lists.gnu.org/mailman/listinfo/bug-cpio > > Thank you! Working fine now. > > Will they fix that bug? Have you tried the latest cvs version? There are lot of fixes since version 2.9. Regards Ladislav. _______________________________________________ Bug-cpio mailing list Bug-cpio@... http://lists.gnu.org/mailman/listinfo/bug-cpio |
| Free embeddable forum powered by Nabble | Forum Help |