dsoprea / GDriveFS

An innovative FUSE wrapper for Google Drive.
GNU General Public License v2.0
662 stars 96 forks source link

Move operation doesn't work/update cache #179

Open Thinkscape opened 7 years ago

Thinkscape commented 7 years ago

Reproduce steps

  1. Mount gdfs in /gdfs
  2. Create a directory /gdfs/foo
  3. (optional) Create a file in the new directory (echo 1 > /gdfs/bar/file.txt)
  4. Create second directory /gdfs/bar
  5. Move /gdfs/foo into /gdfs/bar: mv /gdfs/foo /gdfs/bar/

Expected

Directory is moved and visible at new path: /gdfs/bar/foo

Actual

  1. The directory doesn't exist at target path:
$ ls /gdfs/bar/foo
ls: cannot access '/gdfs/bar/foo': No such file or directory
  1. The directory is still visible in the original path.
    $ ls /gdfs/foo
    file.txt