Displaying 20 results from an estimated 600 matches similar to: "rsync and BSD file flags."
2008 Feb 15
4
Revised flags patch
Hi,
first of all, sorry for taking so long. Unfortunately, some other tasks
kept coming up. Anyway, attached is the version of the flags patch, that
is based on the one I'm using with 2.6.9. It is against the rsync-3.0.0pre9
release.
I've included the option name change from the repository, so the
option is now called --fileflags. Improved from the previously
distributed version is the
2003 Sep 08
6
No nonodump...
I'm not sure where else to ask about this, so please excuse me if this is
the wrong forum. In trying to remove a 'nodump' flag on a directory with the
'chflags' command I have noticed that the 'nonodump' flag does not function.
I see an open PR for the problem:
o [2003/01/09] i386/46912 johan chflags nonodump fails
I was wondering when this might be dealt with? Else is
2006 Aug 02
7
DO NOT REPLY [Bug 3988] New: -a collides with --flags
https://bugzilla.samba.org/show_bug.cgi?id=3988
Summary: -a collides with --flags
Product: rsync
Version: 2.6.8
Platform: x86
OS/Version: FreeBSD
Status: NEW
Severity: normal
Priority: P3
Component: core
AssignedTo: wayned@samba.org
ReportedBy: rsync@oldach.net
QAContact:
2006 Mar 01
3
Remote Installworld
I'm currently administering a machine about 1500mi from me with nobody
local to the machine to assist me. Anyways, my only access to this
machine is via SSH, no remote serial console or anything.
When I try to do a "make installworld" I end up with
install: rename: /lib/INS@aTxk to /lib/libcrypt.so.3: Operation not
permitted
very shortly thereafter. I cannot boot
2006 Sep 07
3
comments on handbook chapter
``You do not want to overbuild your security or you will interfere
with the detection side, and detection is one of the single most
important aspects of any security mechanism. For example, it makes
little sense to set the schg flag (see chflags(1)) on every system
binary because while this may temporarily protect the binaries, it
prevents an attacker who has broken in from making an easily
2011 Jun 13
2
computer name
Is there an r function that will be able to identify the computer the code is
running on?
I have some common code that I run on several computers and each has a
database with a different server name - although the content is identical.
I need to set thisServer depending on which machine the code is running
on...
something like...
if(pcname = pc1) thisServer = 'SERVER1'
if(pcname = pc2)
2009 Aug 11
2
I don't get --link-dest, at all
Hourly I have an rsync job backup /home to /home/backup. I have 24
directories (one for each hour):
home.0
...
home.23
Here is the script I am running via cron:
#! /usr/local/bin/bash
dest=`date +%k | sed 's/ //g'`
linkdir=`date -v-1H +%k | sed 's/ //g'`
chflags -R noschg /home/backup
rm -rf /home/backup/home.$dest
rsync -ahHP --numeric-ids --delete --stats --link-dest=../
2005 Mar 03
4
Renaming root account
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
One quick question: Is it safe and/or sensible to rename the root
account, so that the only uid 0 user on a system is something different
to root? I can see how this would be effective against external
attackers who have no knowledge of the internals of the system as they
would spend pointless hours trying to crack a user which doesnt
2003 May 09
2
Problem installing kernel in single usermode
Hi,
I'm running 4.8-STABLE but I'm having some problems installing a new
kernel.
(in /usr/src make installkernel).
mv /kernel /kernel.old operation not permitted
My securelevel is currently set to -1 (kern_securelevel=-1) and
kern_securelevel_enable="NO"
I have already executed chflags noschg /kernel and /kernel.old (while in
single user mode).
What am I missing?
Thanks.
2008 May 31
1
rsync 3.0.2 with --fileflags on FreeBSD: cannot rsync hardlinked immutable files
Hi *,
it seems rsync with --fileflags isn't able to work on (already)
hardlinked 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
2008 Jun 12
1
broken pipe when working on open files (?), MacOS X, 3.0.2/3.0.3pre2
Hello all,
I have trouble to use rsync (tested with 3.0.2 and 3.0.3pre2) on MacOS X
10.3.
Rsync always seems to stop when working on open files (?). Source is my
laptop
hard disk, destination a USB attached external drive.
If I stop Firefox for instance all runs smoothly.
This is how I built rsync:
#!/bin/bash
# VERSION=3.0.2
VERSION=3.0.3pre2
DIR="rsync-$VERSION"
2020 Mar 28
4
osx permission issue
hello,
does somebody know how to circumvent that "extra file access restriction
feature" introduced in osx some time ago ?
i already tried adding rsync binary to programms with "full disk access"
privilege ( system-prefs -> security & privacy -> privacy -> full disk
access)? , since running as root is not sufficient - but it does not work.
i want to make sure
2017 Jan 10
0
[Bug 12508] New: fileflags & forcechange don't work for hardlinks
https://bugzilla.samba.org/show_bug.cgi?id=12508
Bug ID: 12508
Summary: fileflags & forcechange don't work for hardlinks
Product: rsync
Version: 3.1.2
Hardware: All
OS: FreeBSD
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
2006 Apr 02
3
rsync and BSD file flags
> On Mon, Mar 20, 2006 at 04:51:56PM -0500, Jonathan Call wrote:
> > It refers to a --flags patch that I don't see available anywhere:
> I used the link to the patch in the email you cited to find it. It's
> quite old though, and I saw one bug (namely that the SAME_FLAG value was
> too big to actually be transmitted as a flag bit). I did a quick update
> of the patch
2009 Oct 01
0
patch: --force-change for hard links
Hi All!
rsync-3.0.6 with fileflags.diff under FreeBSD 8.0-RC1: if there is a file
with uchg or schg flag in source directory and it's hard-linked (usual
case for /usr/bin), then rsync cannot create the link in destination
directory. Error message: rsync: link "/tmp/s/a" => b failed: Operation
not permitted (1)
The problem is that it's not allowed to link a *chg'ed file.
2013 Nov 05
1
FreeBSD 10.0-BETA3 now available
The third BETA build of the 10.0-RELEASE release cycle is now available
on the FTP servers for the amd64, i386, ia64, powerpc, powerpc64 and
sparc64 architectures.
The image checksums follow at the end of this email.
ISO images and, for architectures that support it, the memory stick images
are available here:
ftp://ftp.freebsd.org/pub/FreeBSD/releases/ISO-IMAGES/10.0/
(or any of the FreeBSD
2016 Apr 16
2
How to delete Locked files in Mac
Hi,
I am looking for some R code, which will delete all files in a Folder
that contains both Locked and Unlocked files. There are many,
therefore i would like to delete all files programmatically in one go.
I used following code :
## "SS" is the Folder name including entire path which contains Locked
and Unlocked files.
file.remove(file.path(ss, list.files(ss)))
[1] FALSE
Warning
2007 Feb 13
2
modify only, not deletable
Hi folks,
I have a samba file server joining a Windows 2k AD as member server.
I wonder how I can setup the files on the samba share to be modifiable
by users, but no one can delete them. Is it possible? linux chattr
command doesn't seems to help, and I can only setup windows share
permission (full control, read,write) for the samba files from windows
interface, not NTFS detailed permissions.
2004 Jan 06
5
Logging user activities
Hello,
What do you recommend for keeping track of user
activities? For preserving bash histories I followed
these recommendations:
http://www.defcon1.org/secure-command.html
They include using 'chflags sappnd .bash_history',
enabling process accounting, and the like.
My goal is to "watch the watchers," i.e. watch for
abuse of power by SOC people with the ability to view
2007 Jan 13
3
Permission denied by op
i am invoking op from a python proggy which does an op.system() of
op chmod 640 /usr/local/etc/tac_plus.conf
i get "Permission denied by op"
% ls -l /usr/local/etc/op.access
-r-------- 1 root wheel 149 Jan 13 07:41 /usr/local/etc/op.access
% cat /usr/local/etc/op.access
# 2007.01.13
#
#DEFAULT users=src
#
chown /usr/sbin/chown $* ; users=src
chmod /bin/chmod $* ; users=src