pombreda / google-docs-fs

Automatically exported from code.google.com/p/google-docs-fs
GNU General Public License v2.0
0 stars 0 forks source link

touch: setting times of `$FILE': Bad file descriptor #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello there. I noticed that creating new files fails while "setting times".

Example:
$ touch a.doc
touch: setting times of `a.doc': Bad file descriptor

Copying, moving and removing files works fine. Every kind of operation 
(including creation) with directories works fine.

bye!

Original issue reported on code.google.com by inverniz...@gmail.com on 7 May 2010 at 11:18

GoogleCodeExporter commented 9 years ago
LOOKUP /a.doc
getattr /a.doc
Traceback
  NODEID: 2
   unique: 7, success, outsize: 144
unique: 8, opcode: SETATTR (4), nodeid: 2, insize: 128
   unique: 8, error: -38 (Function not implemented), outsize: 16

Original comment by inverniz...@gmail.com on 7 May 2010 at 11:22

GoogleCodeExporter commented 9 years ago
Hi mate, I never implemented a way to set the attributes of a file. AFAIK the 
only
way the change the timestamp on a file is to open it, save it and close it 
again.

Hope that helps mate.

Original comment by d38dm8nw81k1ng@gmail.com on 15 May 2010 at 9:56