mukulyadav49 / macfuse

Automatically exported from code.google.com/p/macfuse
Other
0 stars 0 forks source link

Permission denied when file A replaces file B with mv command #123

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. touch file_a
2. touch file_b
3. mv file_b file_a

What is the expected output?

file_a is overwritten with file_b

What do you see instead?

mv: rename file_b to file_a: Operation not permitted

What version of the product are you using? On what operating system?

macFUSE 0.22
sshfs 0.1.0

Please provide any additional information below.

Original issue reported on code.google.com by lukas.m....@gmail.com on 2 Mar 2007 at 2:37

GoogleCodeExporter commented 9 years ago
I should add that the permission error is independent from the actual file 
permissions

Both files can have the permissions 777 and the error occurs anyway.

Original comment by lukas.m....@gmail.com on 2 Mar 2007 at 2:40

GoogleCodeExporter commented 9 years ago
Oops, sorry. This is the same problem as in
http://code.google.com/p/macfuse/issues/detail?id=98&can=2&q=

It works with "-oworkaround=rename" :)

Original comment by lukas.m....@gmail.com on 2 Mar 2007 at 3:50

GoogleCodeExporter commented 9 years ago
You should be using workaround=rename for this. You should run into the same 
issue with sshfs on Linux or 
when using sftp directly.

Original comment by si...@gmail.com on 2 Mar 2007 at 5:58