[SOLVED] Setting write permissions on Windows share from linux
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Setting write permissions on Windows share from linux
I want to occasionally access files on a Windows 10 machine from a linux box, with full rw permissions. I've followed this "how-to": https://www.howtogeek.com/176471/ and I'm mounting the Windows disk manually, with this basic incantation:
mount //Win10box/Win10disk -o username=windowsID /linuxmount
which works just dandy -- except that the windows disk is read-only. "Extensive research" (an hour googling, including some promising-looking posts here that didn't help, at least not at my pay grade) has suggested all kinds of options, but none of them seem to make the slightest difference; e.g.,
mount //Win10box/Win10disk -o noperm,dir_mode=0777,file_mode=0777 username=windowsID /linuxmount
mounts the disk without error, and the protections show up as drwxrwxrwx -- but i still can't write to the disk. I've double-checked that full rw permissions are set on the Win10 side...and am now stuck... Probably something "obvious", but anyone see what i'm missing here?
Thanks
Keith, don't think it's a hardware issue (as i infer you're suggesting), there are two separate HDD on the remote Windows box and the issues are the same for both of them (and they're each only a few weeks old).
Frank, yep, learned that the hard way! So, how then to write to the Windows disk? I've double-checked on the Win box, "everyone" appears to have read/write access on the share....just that, in practice, i don't
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
Quote:
Originally Posted by ihowarth
... don't think it's a hardware issue ...(
Not an 'issue' but if it wasn't unmounted properly mount will apparently mount it r/w but the underlying fs will be read only.
It does no harm to do an fsck
Well, i'm kinda embarrassed to admit that i deleted everything on the windows side, redid the shares, and...it now works. I have no idea what's changed (nothing at all as far as i can see, but that's obviously not a reflection of reality, just my perception). Sorry to have wasted folks time on here
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.