View Issue Details

IDProjectCategoryView StatusLast Update
00000481003.1(2008)/Issue 7Shell and Utilitiespublic2013-04-16 13:06
Reportergeoffclare Assigned Toajosey  
PrioritynormalSeverityObjectionTypeError
Status ClosedResolutionAccepted 
NameGeoff Clare
OrganizationThe Open Group
User Reference
Sectionmv
Page Number2955
Line Number97288
Interp Status
Final Accepted Text
Summary0000048: moving a directory to a directory followed by a "/" should not be required to fail
DescriptionThe following text was added to the end of the first paragraph on the
mv page in the 2008 revision, as a result of interpretation AI-016:

    "In this case, if target_file ends with a trailing <slash>
    character, mv shall treat this as an error and no source_file
    operands will be processed."

Here, "in this case" is a reference to "the final operand does not
name an existing directory and is not a symbolic link referring to an
existing directory".

This is fine for the case where an attempt is made to rename a
non-directory file, e.g.:

    mv regular_file new_name/

but I can see no reason that an attempt to rename a directory
should fail, e.g.:

    mv existing_dir new_dir/

or:

    mv existing_dir/ new_dir/

Indeed, these commands work on Solaris 10.
Desired ActionChange

    "In this case, if target_file ends with a trailing ..."

to

    "In this case, if source_file names a non-directory file and
    target_file ends with a trailing ..."
Tagstc1-2008

Activities

Don Cragun

2009-06-25 12:36

manager   bugnote:0000086

Last edited: 2009-06-26 06:33

Originally reported by gwc:xxxxxxxxxxxxx
Fri, 9 Jan 2009 15:42:20 +0000
with Subject: Defect in XCU mv

Transcribed by Don Cragun from xcubug3.txt ERN 4

Submitter tag "gwc mv AI-016"

Issue History

Date Modified Username Field Change
2009-06-25 12:29 Don Cragun New Issue
2009-06-25 12:29 Don Cragun Status New => Under Review
2009-06-25 12:29 Don Cragun Assigned To => ajosey
2009-06-25 12:29 Don Cragun Name => Geoff Clare
2009-06-25 12:29 Don Cragun Organization => The Open Group
2009-06-25 12:29 Don Cragun Section => mv
2009-06-25 12:29 Don Cragun Page Number => 2955
2009-06-25 12:29 Don Cragun Line Number => 97288
2009-06-25 12:36 Don Cragun Note Added: 0000086
2009-06-25 12:36 Don Cragun Reporter Don Cragun => geoffclare
2009-06-25 12:36 Don Cragun Status Under Review => Resolved
2009-06-25 12:36 Don Cragun Resolution Open => Accepted
2009-06-25 16:38 Don Cragun Tag Attached: real bug in aardvark
2009-06-26 06:33 Don Cragun Note Edited: 0000086
2009-07-30 16:06 msbrown Tag Detached: real bug in aardvark
2010-08-19 16:50 ajosey Tag Attached: tc1
2010-08-27 10:36 ajosey Tag Renamed tc1 => tc1-2008
2013-04-16 13:06 ajosey Status Resolved => Closed