Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I think the problem may be that the umask value in your etc/fstab entry is set to deny all permissions to users (umask=007). Try editing to give umask=000 and see if that works.
I think the problem may be that the umask value in your etc/fstab entry is set to deny all permissions to users (umask=007). Try editing to give umask=000 and see if that works.
OK! Looking at your original post again it's the Star.Treck files that are the problem. The first five fields in each file are not identified (and one of those is the file permissions).
From a google I have found out that a .TNG file is a compressed file:
TNG = Audio Utility Tuningwrench compressed file
Also: AVI = Video for Windows Audio Video Interleave movie
Perhaps someone knows if 'nix has a problem identifying and/or opening files of these types? If I find out more I'll post back.
I think these are all avi files. "TNG" stands for "The Next Generation".
e.g.,
Star.Trek.TNG.s04e17.Night.Terrors.avi
means
Series name: "Star Trek The Next Generation"
When aired: "Season Four, Episode 17"
Episode name: "Night Terrors"
File type: "avi"
And no, I do not know why the OP cannot access these files on NTFS. Although if I remember correctly, "Night Terrors" is not an episode I'd want to access. Most episodes were very good, but if I remember, this one was not one of them! I could be remembering wrong though.
Below is an fstab example of how I mount a readonly NTFS partition. You might try getting rid of your nls and gid settings to see if that makes any difference. Also, try a umask of four digits with the leading zero (specifically indicating the assumed default octal format) as I illustrate below. You three digit umask of 007 might be confusing things.
One more thought - that doesn't affect your current problem but should probably be mentioned anyway.
The last field of your fstab line is "1". That means that fsck should check this filesystem at boot time. You don't want that with NTFS (is there even an fsck variant for NTFS?) I imagine this setting would probably be ignored in the absense of fsck.ntfs, but it's probably better to be safe than sorry and set it to a "0" explicitly.
I think these are all avi files. "TNG" stands for "The Next Generation".
correct
Quote:
And no, I do not know why the OP cannot access these files on NTFS. Although if I remember correctly, "Night Terrors" is not an episode I'd want to access. Most episodes were very good, but if I remember, this one was not one of them! I could be remembering wrong though.
Ive added to the OP some other files so U wont think that only Star Trek is affected. Almost a quarter of hard drive has this problems
I changed the line to this and its even worse now.Since now it will freeze NAUTILUS for 15sec when accesing data on that drive.
Is your syslog file showing any errors when you try to access? Since your cp attempt generated in I/O error warning, maybe syslog will give you some more clues. (It'll probably just say "I/O Error" in some different wording however.)
Not sure how I would procede in your case. I'd probably try booting the system with a Knoppix LiveCD and see if I could access NTFS from there. This might help narrow down the problem to one in NTFS vs. one in your Linux installation.
[17182415.808000] NTFS-fs error (device hda6): ntfs_ucstonls(): Unicode name con tains characters that cannot be converted to character set cp437. You might wan t to try to use the mount option nls=utf8.
[17182415.808000] NTFS-fs warning (device hda6): ntfs_filldir(): Skipping unrepr esentable inode 0xa50f.
[17182415.808000] NTFS-fs error (device hda6): ntfs_ucstonls(): Unicode name con tains characters that cannot be converted to character set cp437. You might wan t to try to use the mount option nls=utf8.
[17182415.808000] NTFS-fs warning (device hda6): ntfs_filldir(): Skipping unrepr esentable inode 0x3bb1.
[17182415.808000] NTFS-fs error (device hda6): ntfs_ucstonls(): Unicode name con tains characters that cannot be converted to character set cp437. You might wan t to try to use the mount option nls=utf8.
[17182415.808000] NTFS-fs warning (device hda6): ntfs_filldir(): Skipping unrepr esentable inode 0x9634.
[17182447.748000] printk: 6 messages suppressed.
[17182447.748000] NTFS-fs error (device hda6): ntfs_ucstonls(): Unicode name con tains characters that cannot be converted to character set cp437. You might wan t to try to use the mount option nls=utf8.
[17182447.748000] NTFS-fs warning (device hda6): ntfs_filldir(): Skipping unrepr esentable inode 0x2ca6.
[17183794.068000] NTFS volume version 3.1.
[17183809.136000] NTFS-fs error (device hda6): ntfs_read_locked_inode(): Found n onstandard compression unit (0 instead of 4). Cannot handle this.
[17183809.136000] NTFS-fs error (device hda6): ntfs_read_locked_inode(): Failed with error code -95. Marking corrupt inode 0x2c02 as bad. Run chkdsk.
but I had run chkdsk already in Windows and it found zero errors!
It looks like it doesn't like your filenames for some reason. I'd try temporarily renaming one of these files (from within Windows) to something plain-Jane simple ... like "test.avi". See if you can access it then. This obviously doesn't fix your problem, but it may move you a step closer towards debugging the root cause.
You could also try using "Captive NTFS" to mount the partition. This uses NTFS drivers Linux finds in the Windows installation for file access, rather than the NTFS drivers installed into Linux itself. Captive NTFS should be installable on your distro.
It looks like it doesn't like your filenames for some reason. I'd try temporarily renaming one of these files (from within Windows) to something plain-Jane simple ... like "test.avi". See if you can access it then. This obviously doesn't fix your problem, but it may move you a step closer towards debugging the root cause.
Renaming the file doesnt help. But if I copy and paste the file than it is readable in UBUNTU DAPPER.
Quote:
You could also try using "Captive NTFS" to mount the partition. This uses NTFS drivers Linux finds in the Windows installation for file access, rather than the NTFS drivers installed into Linux itself. Captive NTFS should be installable on your distro.
trying it now...
EDIT:
with captive it works. but thats no sollution 4M since its so slooow. And to beta
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.