Unprivileged user can't set sticky bit on a file; why?

Volodymyr Kostyrko c.kworr at gmail.com
Fri Nov 14 00:45:13 PST 2008


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.

-- 
Sphinx of black quartz judge my vow.



More information about the freebsd-hackers mailing list