Displaying 20 results from an estimated 500 matches similar to: "FW: compare st_mode & 07777, or Aix dirs always differ"
2003 Feb 08
1
compare st_mode & 07777, or Aix dirs always differ
Under Aix directories have the mode 024xxxx instead of the customary
04xxxx. Because of this when you sync a directory to or from an Aix
system it's never up to date.
Here is a patch which fixes this. It causes rsync to look at only the
bits that chmod actually influences, 07777, when deciding whether or not
the modes differ.
I was surprised there wasn't an existing constant for 07777,
2004 Mar 05
2
Problem with --link-dest when syncing AIX to Linux
Hello,
i'm using rsync 2.6.0 for daily-syncing some remote AIX 5.2 machine to a
local linux (RH 7.3) with using the --link-dest option for saving space
on incremental backups.
Even if there are no changes on the AIX machine, all files are newly
transferred on every new sync.
My test scenario (actisi=remote aix machine, actisa=local linux machine):
=====> Initial rsync
[mma@actisa
1999 Aug 26
0
smbsh always segfaults
Version 2.0.5a (same prob w/2.0.4b, though). smbsh segfaults after I
enter my password. As root, it just seg faults. As my login user, it
dumps core.
Attached is a script of an strace of it.
Running RH 6.0, kernel 2.2.10, AMD K6-2/350, 64M RAM. Configure options
were:
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{pref} --libdir=/etc \
--with-lockdir=/var/lock/samba
2009 May 29
1
[PATCH v2] klibc-utils: add simple ls
Simple utility to list information about a files. The utility which
does the same thing as "ls -la". This is a useful test program.
Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com>
---
usr/utils/Kbuild | 4 +-
usr/utils/ls.c | 202 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 205 insertions(+), 1 deletions(-)
create mode 100644
2009 May 28
1
[PATCH] klibc-utils: add minils
Simple utility to list information about a files. The utility which
does the same thing as "ls -la". This is a useful test program.
Signed-off-by: Alexey Gladkov <gladkov.alexey at gmail.com>
---
usr/utils/Kbuild | 4 +-
usr/utils/minils.c | 198 ++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 201 insertions(+), 1 deletions(-)
create mode 100644
2002 Nov 17
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS (update)
This is a corrected version of the patch I originally submitted
on September 5th, and resubmitted on October 14th. I have
removed the changes that added $(CFLAGS) to the link-only
invocations of gcc. Otherwise, the patch is the same as before.
My thanks to Paul (prj@po.cwru.edu) for noticing my error and
kindly correcting me.
** text of original letter, with corrections **
I had to make some
2002 Sep 06
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS
I had to make some patches to rsync to get it to build on VOS.
We are a POSIX-96 (but not Unix) system. Here is the subset of
the patches that I think are general to all platforms. I have
tested these here.
I was surprised that CPPFLAGS is not available to the
compilation rules in the Makefile. Most other packages (e.g.
Samba) seem to allow CPPFLAGS to be set by the user. Since this
is how I
2002 Oct 14
0
[PATCH] Patches to rsync-2.5.5 for Stratus VOS (resend)
** This is a resend of mail I originally sent on September
5th. I am still interested in getting these patches
applied, and getting a new config.guess and config.sub.
Is there anything else I need to do in order to get
these changes accepted? Thanks. PG **
I had to make some patches to rsync to get it to build on VOS.
We are a POSIX-96 (but not Unix) system.
2002 Nov 20
0
[PATCH] Updated patch to rsync for Stratus VOS
This is an updated version of my patches to get rsync to build
and run its tests on the Stratus VOS operating system.
I have updated this patch to apply cleanly to the current copy
of HEAD. I also ran the test suite and discovered that I needed
to tweak a few spots in the Makefile to append the executable
suffix (VOS is one of the few systems that has a required
executable suffix). There are a
2006 Oct 31
0
6380036 zfs does not clear S_ISUID and S_ISGID bits on successful writes
Author: marks
Repository: /hg/zfs-crypto/gate
Revision: f89e0d54f3a2bec76fbda3e2097037a4bd3c6f21
Log message:
6380036 zfs does not clear S_ISUID and S_ISGID bits on successful writes
6388195 conflict of filesystem property of "aclinherit=secure" & ACE no_propagate
6389212 file_dac_search privilege is ineffective when traversing zfs mount point
Files:
update:
2002 Mar 12
2
Patch: --drop-suid Remove suid/sgid from target files
The attached patch adds an option --drop-suid which caused rsync to drop
setuid/setgid permissions from the destination files.
ie, even if the source file is setuid, the target file will not be.
Added as we want to rsync the same files to machines both inside and outside
our firewalls. For machines inside the firewall some files should be suid,
for machines outside the firewalls they should
2018 Jul 02
0
Samba 4.3.11 accessing disk every minute
The latest version that Western Digital has shipped with the My cloud devices accesses the disk
about twice a minute. The access to /dev/sda2 is causing the system to keep the disk from going
into standby mode. I don't understand the call to quotactl every minute when no one is trying to access the share.
An strace of one of the processes shows the following:
poll([{fd=13,
2000 Aug 18
0
[PATCH] Support symlinks in scp of openssh 2
I'm fond of the "-a" (archive) option of cp, and I'm a heavy user of
scp, so I guess it's inevitable that I would eventually add support
for "-a" to scp. :-) Actually, it's a "-L" flag for preserving
symlinks, and a "-a" flag that is shorthand for "-Lpr".
Please let me know if I'm not doing this right.... I made a great
2002 Jun 21
1
small security-related rsync extension
Included below is a shar archive containing two patches that together:
1) make backup files get their setuid and setgid bits stripped by
default
2) add a "-s" option that allows backup files to continue to have
these privileges
This means that if you update a collection of binaries with rsync, and
one or more of them has a local-root security problem, the backup
file(s) created when
2007 Apr 18
1
Linux Equivalent of SetFilePerm() api
Hi everyone,
We are trying to port our own windows application to SUSE linux.Our
application uses SetFilePerm() api defined in commondll.dll.We would like
to know whether there is a linux equivalent of windows commondll.dll in
wine...
If not then what could be the possible alternative to make this api
function exactly as it does in windows.
Waiting for an early reply,
Thanks and Regards,
2009 May 25
2
Segfault with dovecot -n / dovecot 2.0
Hi all,
and while trying to get some environmental stuff via dovecot -n, I got a segfault (dovecot is not in system path):
/opt/dovecot-2.0/sbin/dovecot -c /etc/dovecot-2.0/sql/dovecot.conf -n
# 2.0.UNSTABLE: /etc/dovecot-2.0/sql/dovecot.conf
# OS: Linux 2.6.24-23-xen x86_64 Ubuntu 8.04.2 nfs
Segmentation fault
stat("/home/dovecot/mail/", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0
1999 Oct 18
1
Problem with sticky bit and free space
Hello,
I have two little problems with samba:
1st.
Samba is not setting the sticky bit anymore !!!
I have a share that look like this:
[publico]
comment = Arquivos publicos
path = /home/publicos
public = yes
writable = yes
force directory mode = 1777
create mask = 0664
With samba 1.9.x it was ok, the directories was being created with the
correct permission (drwxrwxrwt), but since I
2002 Jul 13
0
[PATCH]: scp program improved
Hi,
I have made a patch which improves scp utility. It adds two new features:
rate limit and resume support. With rate limit it's possible to limit
transfer speed. Resume allows to continue file transfer where it was last
interrupted. Also the progress meter was improved.
Here is my patch, please send comments about it and what I can do better
if there is something to fix.
---
2010 Jun 21
0
would like more detail when /tmp directory is missing. patch for linux/syslinux.c
Our linux distribution at my job didn't include a /tmp directory. When ever
I tried to use syslinux, I would get the following error:
./syslinux: No such file or directory
I modified the code to report this:
./syslinux: Cannot access the /tmp/ directory.
This would have helped me a lot rather than having to download the source
and run it through the debugger to figure out that my /tmp/
2008 Feb 04
2
[Bug 1436] New: scp -p does not preserve sticky bit (01000)
https://bugzilla.mindrot.org/show_bug.cgi?id=1436
Summary: scp -p does not preserve sticky bit (01000)
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: scp
AssignedTo: bitbucket at