I have here a box which I dual-boot between CentOS 5.4 and an older version of that "other OS" that I'm using to check out the ELrepo version of kmod-ntfs. After installing as per the directions on the ELrepo site, I can mount an NTFS filesystem, and when I type "mount" with no options the output tells me that the target filesystem is mounted read-write. However, when I try to create a file on that filesystem as root, I get a "Permission denied" error, which leads me to think that I'm missing something here. So far, Google has not been very helpful here, so if anyone can shine some light on this, it would be welcome. -- Ron Loftin reloftin at twcny.rr.com "God, root, what is difference ?" Piter from UserFriendly
On Saturday 31 October 2009 20:12, Ron Loftin wrote:> I have here a box which I dual-boot between CentOS 5.4 and an older > version of that "other OS" that I'm using to check out the ELrepo > version of kmod-ntfs. After installing as per the directions on the > ELrepo site, I can mount an NTFS filesystem, and when I type "mount" > with no options the output tells me that the target filesystem is > mounted read-write. However, when I try to create a file on that > filesystem as root, I get a "Permission denied" error, which leads me > to think that I'm missing something here. So far, Google has not > been very helpful here, so if anyone can shine some light on this, it > would be welcome.Try using "mount -t ntfs-3g" rather than "mount -t ntfs". You may have to install fuse-ntfs-3g. -- Yves Bellefeuille <yan at storm.ca> "Yves Bellefeuille: Eterna malvenkanto en UEA" -- Heroldo Komunikas, n-ro 389
On Sat, 31 Oct 2009, Ron Loftin wrote:> ELrepo site, I can mount an NTFS filesystem, and when I type "mount" > with no options the output tells me that the target filesystem is > mounted read-write. However, when I try to create a file on that > filesystem as root, I get a "Permission denied" error, which leads me to > think that I'm missing something here.Stupid question: BEFORE you mount, what are the permissions on the mount point? Those permissions can affect what you can do with the mounted filesystem. Once you mount the filesystem it's awfully hard to figure out what the problem is because the original mount point permissions are hidden... That one has gotten me before, but a wiser SA than myself warned me before I ever came across it, so I didn't spin my wheels _too_ long looking for the problem! That would have been a real hair-puller otherwise. I don't know whether current Unix/Linux systems behave in the same manner, but SunOS/Solaris used to. -- Curt Mills, WE7U hacker at fluke dot com Senior Methods Engineer/SysAdmin "Lotto: A tax on people who are bad at math." -- unknown "Windows: Microsoft's tax on computer illiterates." -- WE7U "The world DOES revolve around me: I picked the coordinate system!" Please be advised that this email may contain confidential information. If you are not the intended recipient, please do not read, copy or re-transmit this email. If you have received this email in error, please notify us by email by replying to the sender and by telephone (call us collect at +1 202-828-0850) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. In addition, Danaher and its subsidiaries disclaim that the content of this email constitutes an offer to enter into, or the acceptance of, any contract or agreement or any amendment thereto; provided that the foregoing disclaimer does not invalidate the binding effect of any digital or other electronic reproduction of a manual signature that is included in any attachment to this email.
On Sun, Nov 1, 2009 at 5:49 PM, Akemi Yagi <amyagi at gmail.com> wrote:> On Sun, Nov 1, 2009 at 5:46 PM, Ron Loftin <reloftin at twcny.rr.com> wrote: >> >> On Sun, 2009-11-01 at 17:38 -0800, Akemi Yagi wrote: >>> >>> Looks like you are doing everything just fine. ?Perhaps, we should >>> move this conversation to the ELRepo mailing list because this is now >>> all about kmod-ntfs and not all members of the ELRepo team are reading >>> this mailing list on a regular basis. >>> >>> http://elrepo.org/tiki/MailingLists >>> >>> What do you think? >> >> I think that I just signed up for the ELRepo mailing list. ?I will post >> my last message there ( unless you think more of the background is >> useful ) and see what turns up. > > Adding the link to your original post of this thread will help: > > http://lists.centos.org/pipermail/centos/2009-November/084896.htmlThis is just a followup post for those who would like to know how this conversation developed. The details are in this ELRepo mailing list thread: http://lists.elrepo.org/pipermail/elrepo/2009-November/000102.html In short, the write support offered by the kernel (hence kmod-ntfs) is quite limited. Alan Bartlett pointed to this section of the kernel Kconfig file: "The only supported operation is overwriting existing files, without changing the file length. No file or directory creation, deletion or renaming is possible. Note only non-resident files can be written to so you may find that some very small files (<500 bytes or so) cannot be written to." Conclusion is, if you need to write to NTFS, you should use ntfs-3g. Akemi
On Tue, Nov 3, 2009 at 7:44 AM, Nicolas Thierry-Mieg <Nicolas.Thierry-Mieg at imag.fr> wrote:> funny. > Rod, that wiki page ends with: > "Written and currently maintained by AkemiYagi. Comments/improvement > welcome." > I guess the Akemi you replied to had read that page :-D . > and I suspect you are actually using ntfs-3g...Not only I have read it but I actually created that wiki article... :-D Akemi