On Fri, Feb 27, 2009 at 04:29:14PM +0100, Michael Goetze wrote:
> It would be nice if fcopy could also set the user/permission of
> directories in recursive mode. For instance, if I write a script such as
> 
> fcopy -m nagios,nagios,755 -ri /usr/local/nagios
> 
> then /usr/local/nagios/.ssh/authorized_keys would have the right owner
> but /usr/local/nagios/.ssh would not.

this is a general feature of fcopy:
every directory created by it is root:root:0755, so this is unrelated to
the -r option.

a definitive solution would be to modify fcopy to support reading file-modes
also for dirs.

-- 
c u
henning



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to