Unprivileged user can't set sticky bit on a file; why?
Nate Eldredge
neldredge at math.ucsd.edu
Fri Nov 14 01:01:47 PST 2008
On Fri, 14 Nov 2008, Volodymyr Kostyrko wrote:
> Nate Eldredge wrote:
>
>> I came across this when trying to rsync some files which had the sticky bit
>> set on the remote side. (It's the historical Unix archive from tuhs.org;
>> the files in question are part of an unpacked V7 UNIX installation, for
>> which the sticky bit of course had meaning. :-) ) It's annoying that this
>> makes rsync fail; it messes up my mirroring script.
>
> You can ask rsync to change file attributes on the fly with the --chmod
> option. Just my 2c.
Thanks for this hint. "--chmod=F-t" solves my problem. But I am still
curious about this behavior.
--
Nate Eldredge
neldredge at math.ucsd.edu
More information about the freebsd-hackers
mailing list