Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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 want to share user file between windows and linux. Is it a good idea to use an NTFS partition for /home? I suppose this question really breaks into many part, such as how mature is write support for NTFS (as of now, compiled in my 2.6.10) and does chmod works in NTFS? My memory with a FAT32 partition is that, chmod / chown doesn't seems to do much between remounts (i.e. owner ship setting is lost after remount)
I am currently mounting with the following line:
/dev/hda9 /home_test noauto,noatime,rw,nls=utf8,umask=000 0 0
This seems to work okay as far as I know, but being a place for semi-important (personal, not system important) data, I really want to know some expert opinion.
I thought write support for NTFS is still in the staage where you can only overwrite files that have the same length. So I don't think a /home folder on NTFS is either smart or possible.
The ownership and permission rights for Linux-mounted Windows partitions are set via the umask option. That means that the chmod or chown commands are useless.
I agree with marghorp that even with full write support on ntfs (like the captive driver offers), it is not a good idea and most probably will not work correctly.
In the above example, you are talking about the FAT32 partition, right? Otherwise I would really be interested how you managed to write on NTFS. You didn't even specify the filesystem in your fstab line.
NTFS writing is not well supported in Linux thats why most distros disable it by default. You can however create a seperate fat32 partition and then put the files you need to share on that partition. I am sure windoze will be able to detect the fat32 partition.
Yes. Pardon my lack of knowledge about NTFS. I agree with the above comments after experimenting myself. For fat32 partition, does anything like chmod and chown work?
I am more interested in learning the current status of NTFS-write. Any good link for that? Or just perhaps someone describe it shortly in a reply? Thank yoU!
FAT32 has no support for the Unix notion of user and group permissions, so ownership and permissions are set for the whole partition at mount time. uid, gid, dmask and fmask are useful mount options.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.