Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Linux On Laptops / Netbooks / MinibooksLinux on laptop machines, netbooks, minibooks, and anything else tiny! A great place to discuss linux on smaller devices.
I have an EEE PC netbook set up to record and transfer files from a USB stick. The USB device was initially formatted with ReiserFS. Under Reiser, I was able to easily add a line to my /etc/fstab so the USB device would be mounted at boot as writable by a regular user. Easy as pie. It worked perfectly.
For reasons I won't go into, it was decided that the USB device should be formatted with NTFS so that it can be transported physically to a Windows machine where the files can be transferred directly if needed.
I know the device can be written to. If I mount the USB device "by hand" and change its permissions and ownership, I can read and write with it all day long.
I have tried a zillion different fstab configurations I've found on the net and none will allow me to do what I used to could do when the device was formatted with Reiser. I need to do this:
1. Have the device mounted during boot so a regular user can read and write to it.
That's it!
Here is my present /etc/fstab that also doesn't allow read - write access to the external USB device formatted with NTFS...
I realize this post doesn't have much to do with auto write privilidges(though I can transfer files just fine), but I thought I would throw it out there in case you wanted to know about it. I was also wondering why they wanted a ntfs file system when fat 32 would do just fine for a usb drive.
__________________ Free Linux Books
Linux Registered User # 475019 And I’ll keep using Linux until they pry it from my cold dead fingers.
Dan, could you please explain what it is and how it solves the problem?
Do you have ntfs-3g installed? If so, do a search and find mount.ntfs-3g. I will likely be placed under /sbin as mine is. Wherever it is, use it to mount the device from /dev to the folder it is mounted to... the same as I have.
From what I've been able to determine, the regular mount command is not able to mount ntfs partitions or devices formatted with it in read-write. If ntfs-3g is installed, you can mount the drives as read-write with that instead. That has been my experience anyway. Does that help?
But I had success with just 'ntfs' entry in my /etc/fstab, long time back. If I remember correctly I even had edited boot.ini from windows so as to load linux from windows bootloader. Both (the editing and consequent booting from windows loader) had worked.
Anyway I don't have windows in my home computer/laptop anymore (I'm 100% on linux at home ). Will try in office later.
__________________ A candle looses nothing by lighting other candles. - Khalil Zibran. Registered Linux User #490076
Open Source Security Myths Dispelled Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization subscribe
InformationWeek InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology. subscribe