I'm having trouble with users transferring files to a solaris box running ossh v2.3.1p1 via sftp using ssh.com's windows client. The sftp client appears not to respect the users umask, creating files with either mode 666 or 600. We're using version 2.4.0 of the windows client. Any ideas? thanks, -Brett ----------------- Brett Longworth Systems Manager Department of Biology University of Massachusetts Amherst, MA 01003 Tel: 413.545.0216 Fax: 413.545.3243 ----------------- "Pluralitas non est ponenda sine necessitate" -William of Ockham
On Tue, Feb 27, Brett Longworth wrote:> I'm having trouble with users transferring files to a solaris box running > ossh v2.3.1p1 via sftp using ssh.com's windows client. The sftp client > appears not to respect the users umask, creating files with either mode > 666 or 600. We're using version 2.4.0 of the windows client. Any ideas?Check if you have an option "preserve original file time" or something similar checked on the Windows client. If you have this option checked then sftp (client) creates the files with mode 666. This happens also with ssh(r/tm).com's sftp-server. I think that the client behavior is really stupid in this case. -Jarno -- Jarno Huuskonen - System Administrator | Jarno.Huuskonen at uku.fi University of Kuopio - Computer Center | Work: +358 17 162822 PO BOX 1627, 70211 Kuopio, Finland | Mobile: +358 40 5388169
i think the sftp windows client forces the permissions. On Tue, Feb 27, 2001 at 02:51:14PM -0500, Brett Longworth wrote:> I'm having trouble with users transferring files to a solaris box running > ossh v2.3.1p1 via sftp using ssh.com's windows client. The sftp client > appears not to respect the users umask, creating files with either mode > 666 or 600. We're using version 2.4.0 of the windows client. Any ideas? > > thanks, > > -Brett > > ----------------- > Brett Longworth > Systems Manager > Department of Biology > University of Massachusetts > Amherst, MA 01003 > > Tel: 413.545.0216 > Fax: 413.545.3243 > ----------------- > "Pluralitas non est ponenda sine necessitate" > -William of Ockham > > >