Issue 6 in tsumufs: Problems for rename system call

0 views
Skip to first unread message

codesite...@google.com

unread,
Jul 13, 2009, 11:34:09 AM7/13/09
to google-...@googlegroups.com
Status: New
Owner: ----

New issue 6 by megabast: Problems for rename system call
http://code.google.com/p/tsumufs/issues/detail?id=6

What steps will reproduce the problem?
1. When you throw an "mv" command shell
2. dest path get oenent opcodes.
3. CacheManager.generatePath raise OSError (ENOENT)

I use tsumufs.cachePathOf(newpath) if newpath doesn't exist yet, next
os.rename will create newpath.

Also:

line 683 & 684, you use same opcodes value:
srcpath = self._generatePath(fusepath, opcodes)
destpath = self._generatePath(newpath, opcodes)

So I have created both variables srcopcodes and destopcodes.

Here is my patch.

See you, Bastien

Attachments:
rename.patch 1.8 KB

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply all
Reply to author
Forward
0 new messages