set default file permissions for a directory
William D Ricker
wdr at theworld.com
Sun Dec 11 20:21:01 EST 2005
Oh, I should add to my own comment -
> So, SCP gets you (777 minus profile:umask) unless you use scp -p.
The -p of course sets the permissions to what they were on the source
file, ignoring user UMASK (subject probably to the SYSTEM umask?).
Per man scp,
-p Preserves modification times, access times, and modes
from the original file.
Note that -o lets you set any .ssh/config parameter on scp
commandline.
--
/"\ Bill Ricker N1VUX wdr at world.std.com
\ / http://world.std.com/~wdr/
X Member of the ASCII Ribbon Campaign Against HTML Mail
/ \
More information about the gnhlug-discuss
mailing list