[prev in list] [next in list] [prev in thread] [next in thread] 

List:       colinux-devel
Subject:    [coLinux-devel] [ colinux-Bugs-2911886 ] rename bug in cofs
From:       "SourceForge.net" <noreply () sourceforge ! net>
Date:       2010-01-16 22:31:47
Message-ID: E1NWHBL-0008Mk-BP () g45xhf1 ! ch3 ! sourceforge ! com
[Download RAW message or body]

Bugs item #2911886, was opened at 2009-12-10 10:14
Message generated for change (Comment added) made by henryn
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=622063&aid=2911886&group_id=98788

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Daemons (Windows)
Group: v0.8.x (devel)
>Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Henry N. (henryn)
Summary: rename bug in cofs

Initial Comment:
We make a directory "test", and put a file ".test" and a dir "csrc" in here.
when we exec command below, we will got a error:
mv .test csrc


----------------------------------------------------------------------

>Comment By: Henry N. (henryn)
Date: 2010-01-16 23:31

Message:
Fixed in SVN revision r1332 for stable now. (see Snapshots)

----------------------------------------------------------------------

Comment By: Henry N. (henryn)
Date: 2009-12-18 02:00

Message:
Move file to subdirectory was blocked by badly workaround in SVN revision
1161.
Revert it, and implement a better check to prevent from moving parent
directory to subdirectory.
(testcase: "mkdir /cofs/testdir ; mv /cofs/testdir
/cofs/TESTDIR/somedir")

Is fixed in SVN revision r1323 now. (see todays autobuild)


----------------------------------------------------------------------

Comment By: Henry N. (henryn)
Date: 2009-12-10 22:31

Message:
Detailed steps:

mkdir test
cd test
touch .test
mkdir csrc
mv .test csrc

Linux output:
mv: cannot move `.test' to a subdirectory of itself, `csrc/.test'

Debug output:
  <log  module="colinux-driver" file="src/colinux/kernel/filesystem.c"
timestamp="00000001.3690656475" local_index="1201" facility="0"
function="flat_mode_inode
_rename" line="721" level="10" driver_index="1221">
<string>Parent can not rename itself (test,csrc)</string>
</log>


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=622063&aid=2911886&group_id=98788

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
coLinux-devel mailing list
coLinux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/colinux-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic