home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.ultrix
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!nntpd.lkg.dec.com!datum.nyo.dec.com!croton.nyo.dec.com!frank
- From: frank@croton.nyo.dec.com (Frank Wortner)
- Subject: Re: How to specify file attributes for DECnet copy?
- Message-ID: <1993Jan7.162520.26342@datum.nyo.dec.com>
- Lines: 65
- Sender: frank@croton (Frank Wortner)
- Reply-To: frank@nyo.dec.com
- Organization: Digital Equipment Corporation
- References: <AYH0Y3E@netmbx.netmbx.de>
- Date: Thu, 7 Jan 1993 16:25:20 GMT
-
-
- Let me try answering this one again, since I didn't understand the questions
- the first time around :-(
-
- >I have to copy on a *VMS* node a file *from* that node *to* an
- >Ultrix node via DECnet in order to process it later on from a PC.
-
- OK.
-
- >It seems to me, that COPY and none of its qualifiers will do that: the file
- >is created uppercase and with version number. The problem then: this file
- >can't be seen from a Pathworks PC.
-
- You have to specify the target filename on the ULTRIX machine.
-
- >The copy command looks like this:
- >VMS $ COPY FILE.EXT ULTRIX"ACCOUNT PASSWORD"::
-
- Pathworks won't display the file on the PC unless the corresponding name
- in the ULTRIX directory is lower case and 8 or fewer chanacters before the
- period and 3 or fewer after. Try:
-
- COPY FILE.EXT ULTRIX"ACCOUNT PASSWORD"::"file.ext"
-
- The quotes should force VMS to leave the filename alone and *not* map it
- into a VMS filespec.
-
- >BTW, is there a way to give the file another protection while created
- >by fal (it does not work with COPY/PROTECTION). Fal does not process
- >.login or .profile, so setting the umask there is of no avail. Is there
- >a special startup script for fal (i.e. .fal)?
-
- Peter Mayne (pjdm@chmeee.enet.dec.com) was on the right track when he said:
-
- > ncp show object fal char
-
- If you do this, you'll get something like this:
-
- ncp show object fal char
-
- Object Volatile Characteristics as of Thu Jan 7 11:04:55 EST 1993
-
- Object = fal
-
- Number = 17
- File = /usr/etc/fal
- Default User = guest
- Type = Sequenced Packet
- Accept = Deferred
-
- You can substitute a script for /usr/etc/fal which sets the umask and then
- exec's the real fal program (which you've moved somewhere else). Something
- like
-
- #! /bin/sh
- umask 022
- exec /usr/etc/fal.executable
-
- should work. It's unsupported, so any unforseen consequences are
- yours to deal with. I've done similar things in the past, though, and they
- have worked.
-
- Frank
-
-
-