Re: file mode of scp/sftp

2012-01-05 Thread T o n g
On Thu, 05 Jan 2012 16:12:04 +, Camaleón wrote: > Additional info: . . . Bingo! Thanks a lot! -- Tong (remove underscore(s) to reply) http://xpt.sourceforge.net/techdocs/ http://xpt.sourceforge.net/tools/ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subje

Re: file mode of scp/sftp

2012-01-05 Thread Camaleón
On Wed, 04 Jan 2012 18:48:31 +, T o n g wrote: > On Wed, 04 Jan 2012 17:23:12 +, Camaleón wrote: > >>> If users scp/sftp to my host, how is the default mode of files copied >>> determined? Is it from users' umask in their ~/.profile, or somewhere >>> else? >> >> For ssh connections I'm n

Re: file mode of scp/sftp

2012-01-04 Thread Roger Leigh
On Wed, Jan 04, 2012 at 06:48:31PM +, T o n g wrote: > On Wed, 04 Jan 2012 17:23:12 +, Camaleón wrote: > > >> If users scp/sftp to my host, how is the default mode of files copied > >> determined? Is it from users' umask in their ~/.profile, or somewhere > >> else? > > > > For ssh connect

Re: file mode of scp/sftp

2012-01-04 Thread T o n g
On Wed, 04 Jan 2012 17:23:12 +, Camaleón wrote: >> If users scp/sftp to my host, how is the default mode of files copied >> determined? Is it from users' umask in their ~/.profile, or somewhere >> else? > > For ssh connections I'm not sure this still applies. Look at "man 8 > sshd" and scroll

Re: file mode of scp/sftp

2012-01-04 Thread Camaleón
On Wed, 04 Jan 2012 05:15:31 +, T o n g wrote: > If users scp/sftp to my host, how is the default mode of files copied > determined? Is it from users' umask in their ~/.profile, or somewhere > else? For ssh connections I'm not sure this still applies. Look at "man 8 sshd" and scroll down to