LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 08-03-2020, 03:32 PM   #1
ihowarth
LQ Newbie
 
Registered: Aug 2003
Distribution: Mageia 7.1
Posts: 13

Rep: Reputation: 0
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
 
Old 08-03-2020, 07:27 PM   #2
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
try running fsck on it or doing a disk check/clean from windows ( can't help with the windows commands )
 
Old 08-03-2020, 07:32 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,323
Blog Entries: 28

Rep: Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141Reputation: 6141
NTFS file systems do not understand Linux permissions.
 
1 members found this post helpful.
Old 08-04-2020, 04:41 AM   #4
ihowarth
LQ Newbie
 
Registered: Aug 2003
Distribution: Mageia 7.1
Posts: 13

Original Poster
Rep: Reputation: 0
Unhappy

Thanks, both.

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
 
Old 08-04-2020, 05:06 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,839

Rep: Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308Reputation: 7308
Quote:
Originally Posted by ihowarth View Post
mount //Win10box/Win10disk -o noperm,dir_mode=0777,file_mode=0777,username=windowsID /linuxmount
probably a comma?

you may need to check the logs.
 
Old 08-04-2020, 05:16 AM   #6
Keith Hedger
Senior Member
 
Registered: Jun 2010
Location: Wiltshire, UK
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150

Rep: Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856Reputation: 856
Quote:
Originally Posted by ihowarth View Post
... 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
 
Old 08-04-2020, 04:33 PM   #7
ihowarth
LQ Newbie
 
Registered: Aug 2003
Distribution: Mageia 7.1
Posts: 13

Original Poster
Rep: Reputation: 0
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
 
  


Reply

Tags
cifs, linux, smb, windows 10



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba4 creating share and setting permissions without windows tools dllo Linux - Server 5 07-30-2014 03:44 PM
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 01:35 AM
sabayon user owns nfs share - normal user can't write to share tdos20 Slackware 1 06-21-2008 01:01 PM
mounting windows share with write permissions gw1500se Mandriva 10 04-15-2007 03:10 PM
Why can I not write to a SAMBA share when read/write is enabled? eric m Linux - General 4 08-21-2006 09:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration