Displaying 4 results from an estimated 4 matches for "dir_a".
Did you mean:
dir_n
2008 May 31
1
rsync 3.0.2 with --fileflags on FreeBSD: cannot rsync hardlinked immutable files
...dlinked and immutable ("schg") files on FreeBSD. The following
scripts will create a simple example for this behaviour:
--------------------------------------------------------------
#! /bin/sh
#
#
set -x
DIR="/var/tmp/rsync_$(date +%s)/"
mkdir "${DIR}/"
# Preparing dir_A
mkdir "${DIR}/dir_A/"
touch "${DIR}/dir_A/file_A"
ln "${DIR}/dir_A/file_A" "${DIR}/dir_A/file_B"
chflags schg "${DIR}/dir_A/file_A"
ls -laio "${DIR}/dir_A/"
# Try rsync: will fail because of schg'ed hardlinked file
/usr/local/bin/rsyn...
2002 Apr 16
3
how to take least risk on rsync dir
Hello list,
When rsync dir_A to dir_B, I hope I wont make any change to the original
dir_B unless the rsync procedure end withour errors, therefore, I hope
there's somethig like
rsync -av dir_A dir_B_tmp && \
mv dir_B dir_B.bkup &&
mv dir_B_tmp dir_B
This small script can ensure the minimal change time be...
2018 Jan 23
2
[Bug 13241] New: A problem with test for xattrs transfer
...tr -n
security.selinux'.
Looking into the code the function sys_lgetxattr is used to get extended
attributes and it asks specifically for the security.selinux attribute. And
this attribute gets transferred to the destination file and is visible with
'getfattr -d'.
Example:
> mkdir dir_a dir_b
> echo "Hello world" > dir_a/foo.txt
> getfattr -d dir_a/foo.txt
> getfattr -n security.selinux dir_a/foo.txt
# file: dir_a/foo.txt
security.selinux="unconfined_u:object_r:user_home_t:s0"
> rsync -aiX --fake-super dir_a/ dir_b/
> getfattr -d dir_b/foo.txt...
2002 Jul 01
0
recursive scp fails on ReliantUNIX 5.43 (using OpenSSH 3.4p1)
...ut of the test scenario:
*************************************************************************************************************************************************************************************
XYZ $ ls -lR dir_ssh_test
Gesamt 8
drwxr-x--- 2 user1 users 96 Jul 1 08:51 dir_a
drwxr-x--- 2 user1 users 96 Jul 1 08:52 dir_b
-r--r----- 1 user1 users 2590 Jul 1 08:50 file_1
-rw-r----- 1 user1 users 400 Jul 1 08:50 file_2
dir_ssh_test/dir_a:
Gesamt 8
-r--r----- 1 user1 users 2590 Jul 1 08:51 file_1a
-rw-r----- 1 user1...