tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Matt Moore <moore () shemp ! bucks ! edu>
To: tru64-unix-managers
Subject: [SUMMARY] FTP Permissions Question
Date: Mon, 23 Feb 1998 16:01:21 +0000	[thread overview]
Message-ID: <96078694111528.tru64-unix-managers.marc@archive.invalid> (raw)


Thanks to:	Mukeash Soni
		Bill Antoniadis
		Ed Bolson
		Carlos A M dos Santos
		Dr. Tom Blinn

As usual, Dr. Tom "You Da MAN!" Blinn came up with the best answer.
Here it is:

If you look at the ftpd(8) reference page, you will see that the DIGITAL
UNIX implementation supports the "SITE" extended commands, and if you look
at the list of "SITE" examples, you'll see these:

  The following nonstandard or UNIX compatible commands are supported by the
  SITE request:

  Request   Description

  UMASK     Change umask (for example, SITE UMASK 002)

  CHMOD     Change mode of a file (for example, SITE CHMOD 755 filename)

(there are some others, too).

I suspect, but would have to confirm, that DIGITAL UNIX's ftp program is
using the SITE CHMOD command to put the same permissions on the file it
transferred to another UNIX system as they have in the source; I doubt that
WinQVT would do this, since the concept of file modes isn't supported on a
Windows 95 system.

Tom

My Original Message:

> This may not be a strictly DUNIX question but here goes anyway. We are
> having some confusion here when ftp-ing files between machines. It seems
> that when files are ftp-ed to the DUNIX system from another Unix system
> the umask is honored and the files have the correct permissions. But when
> they are uploaded from a Windows95 machine (using WinQVT) the umask is
> ignored and 644 permissions are given to the files. Is there any rhyme
> or reason to this?                          Thanks in advance...   Matt

                 reply	other threads:[~1998-02-23 16:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox