Bug 45661 - Can't create new files on NTFS (NTFS-3G,Fuse). Creating directories and modifying existing files works.
Summary: Can't create new files on NTFS (NTFS-3G,Fuse). Creating directories and modif...
Status: RESOLVED CODE_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: fs_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-07 01:27 UTC by jospezial
Modified: 2012-08-24 20:37 UTC (History)
0 users

See Also:
Kernel Version: 3.6-rc1, 3.6-rc2
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
config-3.6.0-rc1 (82.97 KB, text/plain)
2012-08-07 01:27 UTC, jospezial
Details

Description jospezial 2012-08-07 01:27:17 UTC
Created attachment 76951 [details]
config-3.6.0-rc1

With linux-3.6-rc1 I can't create new files on NTFS (NTFS-3G,Fuse).
Creating directories and modifying existing files works.

Same as user root.

After trying to create a file with touch i get no errormessages in dmesg but in /var/log/messages :
Aug  7 03:17:16 jlgentoo ntfs-3g[3221]: Invalid arguments.


With linux-3.5 it works fine.
Comment 1 jospezial 2012-08-14 15:51:28 UTC
joerg@jlgentoo ~ $ sudo /usr/sbin/mount.ntfs-3g /dev/sdc1 /mnt/sdc1/ -o rw,nosuid,nodev,uhelper=udisks2,debug,no_detach
Passwort: 
FUSE library version: 2.9.1
nullpath_ok: 0
nopath: 0
utime_omit_ok: 1
Version 2012.1.15 external FUSE 29
Mounted /dev/sdc1 (Read-Write, label "8gb_jl", NTFS 3.1)
Cmdline options: rw,nosuid,nodev,uhelper=udisks2,debug,no_detach
Mount options: rw,nosuid,nodev,uhelper=udisks2,allow_other,nonempty,relatime,fsname=/dev/sdc1,blkdev,blksize=4096
Ownership and permissions disabled, configuration type 7
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56, pid: 0
INIT: 7.19
flags=0x0000047b
max_readahead=0x00020000
   INIT: 7.19
   flags=0x00000051
   max_readahead=0x00020000
   max_write=0x00020000
   max_background=0
   congestion_threshold=0
   unique: 1, success, outsize: 40

and after
touch /mnt/sdc1/x
touch: kann „/mnt/sdc1/x“ nicht berühren: Datei oder Verzeichnis nicht gefunden
joerg@jlgentoo ~ $ 

unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 42, pid: 2420
LOOKUP /x
getattr /x
   unique: 2, error: -2 (Datei oder Verzeichnis nicht gefunden), outsize: 16
unique: 3, opcode: CREATE (35), nodeid: 1, insize: 58, pid: 2420
create flags: 0x8841 /x 0666 umask=0022
Invalid arguments.
   unique: 3, error: -2 (Datei oder Verzeichnis nicht gefunden), outsize: 16
unique: 4, opcode: LOOKUP (1), nodeid: 1, insize: 42, pid: 2420
LOOKUP /x
getattr /x
   unique: 4, error: -2 (Datei oder Verzeichnis nicht gefunden), outsize: 16


tested vanilla-sources-3.5.1 and there is all ok 
but problem still exists with latest git-sources snapshot.
Tested on two Gentoo linux computers.
Comment 2 jospezial 2012-08-21 14:30:23 UTC
Bug is still there in 3.6-rc2.
Comment 3 jospezial 2012-08-24 20:37:00 UTC
With linux-3.6-rc3 the bug is gone.

I'd like to know which commit fixed this. Couldn't find something fitting in git .

Note You need to log in before you can comment on or make changes to this bug.