HP3000-L Archives

June 1999, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Thu, 17 Jun 1999 16:12:02 GMT
Content-Type:
text/plain
Parts/Attachments:
text/plain (124 lines)
In article
<[log in to unmask]>,
  [log in to unmask] wrote:
> Hello all,
>
> I have just noticed an anomoly with the RENAME command on
> our system, and was wondering if anybody else had seen it.
>
> We are on 5.5 PP6.
>
> It seems that the RENAME command no longer requires you to be
> the creator of the file in order to perform the rename.    :))  ...
:((
<snip>

Tad,

    No 'justification' as to why, but a possible explanation is :-

    You may find that if the security of the file you can RENAME allows
WRITE access to your logon then this is why you are able to RENAME. I
guess the logic is, if you can write to a file, then you can empty it
(i.e. delete it, effectively) and if you can read it, you can copy it;
in effect a very long way of achieving a 'rename'.
    I believe a lot of VESOFT's MPEX functionality is based on similar
principles, they just make performing some tasks that bit easier.

Example below deomonstrates what happens when WRITE (including APPEND)
capability is removed:-

OMEGA:rename b,c
OMEGA:listf c,3
********************
FILE: C.OPERATOR.SYS

FILE CODE : 0                   FOPTIONS: BINARY,FIXED,NOCCTL,STD
BLK FACTOR: 1                   CREATOR : **
REC SIZE: 256(BYTES)            LOCKWORD: **
BLK SIZE: 256(BYTES)            SECURITY--READ    : ANY
EXT SIZE: 0(SECT)                         WRITE   : ANY
NUM REC: 0                                APPEND  : ANY
NUM SEC: 0                                LOCK    : ANY
NUM EXT: 0                                EXECUTE : ANY
MAX REC: 1023                           **SECURITY IS ON
                                FLAGS   : NO ACCESSORS
NUM LABELS: 0                   CREATED : MON, FEB  3, 1997,  6:05 AM
MAX LABELS: 0                   MODIFIED: THU, JUN 17, 1999,  4:50 PM
DISC DEV #: 1                   ACCESSED: THU, JUN 17, 1999,  4:50 PM
SEC OFFSET: 0                   LABEL ADDR: **
VOLCLASS  : MPEXL_SYSTEM_VOLUME_SET:DISC


OMEGA:mpex

MPEX/3000  27N80324  (c) VESOFT Inc, 1980  5.5  03:03098  For help type
'HELP'

Hint: Want to redo any of the last THOUSAND commands you've typed in
EDITOR,
      QUERY, TDP, or any such subsystem?  Use the "MPEX HOOK" -- say
      "%HELP HOOK".

%altsec c;access=(r,l,x:any;w,a:cr)
-----:ALTSECing C.OPERATOR.SYS
%e

END OF PROGRAM
OMEGA:listf c,3
********************
FILE: C.OPERATOR.SYS

FILE CODE : 0                   FOPTIONS: BINARY,FIXED,NOCCTL,STD
BLK FACTOR: 1                   CREATOR : **
REC SIZE: 256(BYTES)            LOCKWORD: **
BLK SIZE: 256(BYTES)            SECURITY--READ    : ANY
EXT SIZE: 0(SECT)                         WRITE   : CR
NUM REC: 0                                APPEND  : CR
NUM SEC: 0                                LOCK    : ANY
NUM EXT: 0                                EXECUTE : ANY
MAX REC: 1023                           **SECURITY IS ON
                                FLAGS   : NO ACCESSORS
NUM LABELS: 0                   CREATED : MON, FEB  3, 1997,  6:05 AM
MAX LABELS: 0                   MODIFIED: THU, JUN 17, 1999,  4:50 PM
DISC DEV #: 1                   ACCESSED: THU, JUN 17, 1999,  4:54 PM
SEC OFFSET: 0                   LABEL ADDR: **
VOLCLASS  : MPEXL_SYSTEM_VOLUME_SET:DISC


OMEGA:mpex

MPEX/3000  27N80324  (c) VESOFT Inc, 1980  5.5  03:03098  For help type
'HELP'

Hint: MPEX has a new "notepad" feature that is literally a single
keystroke
      away!  Any command line beginning with a ";" character will be
treated
      as a single line "note" to be entered in a special notepad file.

%listf c,3
                         MPEX %LISTF c   PAGE 1
       RF6666,OPERATOR.SYS,OPERATOR   THU, JUN 17, 1999,  4:55 PM



ACCOUNT=  SYS         GROUP=  OPERATOR

FILENAME CODE  CREATOR  CRE-DATE  MOD-DATE  MOD-TIME  ACC-DATE  RST-DATE

C              MANAGER  03 FEB 97 17 JUN 99 04:50 PM 17 JUN 99 24 MAY 99


%e

END OF PROGRAM
OMEGA:rename c,b
USER LACKS DELETE DIRECTORY (DD) ACCESS (FSERR 462)
RENAME failed due to file system error.  Not renamed. (CIERR 373)
OMEGA:


Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.

ATOM RSS1 RSS2