Problem with Windows interfering with Linux permissions
GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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.
Problem with Windows interfering with Linux permissions
I have a computer using Windows 8.1 and Linux Mint 19. Both systems read a partition that I have designated as /windows. One folder, /windows/fileshare, is giving me fits, because no matter how many times I click to unset read-only on that folder, the attributes do not actually get applied to that folder or any of the subfolders, leaving /windows/fileshare as a read-only file system. I store all my files in /windows/fileshare so I can use them when working in either OS.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by linuxbear64
I have a computer using Windows 8.1 and Linux Mint 19. Both systems read a partition that I have designated as /windows. One folder, /windows/fileshare, is giving me fits, because no matter how many times I click to unset read-only on that folder, the attributes do not actually get applied to that folder or any of the subfolders, leaving /windows/fileshare as a read-only file system. I store all my files in /windows/fileshare so I can use them when working in either OS.
So I take it this "partition" is a Linux partition, formatted with a Linux filesystem ? If so, you may want to do a filesystem check to make sure that there are no issues with it, causing the problem you describe. As I'd think it's not unheard of to share a partition with two different systems.
If it's mounted as read-only, then you really do need to check the filesystem, as in my experience, filesystems don't just mount read-only for no reason. Did you actually try mounting it as read-write ?
Both systems read a partition that I have designated as /windows.
So is this a windows filesystem or a Linux filesystem. Necessary information. I'm guessing if you share it from windows and Linux that it is probably ntfs?? Which version of windows do you use? If you have 10, it defaults to hibernate/fast boot and every major windows update will turn this on and will mean that it is not accessible from Linux as a Linux OS will not mount a hibernated partition.
IIRC NTFS extended attributes do not store permissions in the manner that any Linux filesystem does so they are incompatible at least regarding permissions although I thought that means defaulting to read-write, not read-only. So what file system is it?
IIRC NTFS extended attributes do not store permissions in the manner that any Linux filesystem does so they are incompatible at least regarding permissions although I thought that means defaulting to read-write, not read-only. So what file system is it?
And _if_ ntfs, are you using the kernel ntfs module (which, as far as I know, but it may have been changed in newer kernels, cannot WRITE reliably to ntfs mounted partitions) or the user-space ntfs-3g driver (and ditto entry in /etc/fstab).
From _my_ version of that package:
Code:
The NTFS-3G driver is an open source, freely available NTFS driver for Linux with read and write support.
Luckily I do not have got any ntfs partitions, but I do remember that when using the kernel module partitions were always mounted read-only.
The filesystem for /windows is NTFS. When I first installed Linux on its own partition, /windows was mounting as read-write, meaning that I could write to it from Windows or from Linux. Now it is mounting as read-only in Linux. And I don't know anything about the kernel ntfs module.
Last edited by linuxbear64; 01-24-2019 at 08:07 PM.
The problem is probably Win8 is "hibernating" the filesystem. It does this if "fast-start" is enabled. You can force it to shutdown "completely" - a quick search should find how.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.