Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-09-2009, 11:14 AM   #1
LQ Newbie
Registered: Sep 2007
Posts: 28

Rep: Reputation: 15
mounted drive is READ only - how to READ and WRITE?


I've been using the following command to manually mount a drive. On another box with Ubuntu 7.04 it works fine but now in 9.04 I only get READ access. Any idea what I'm missing?

sudo mount -t cifs // /home/user1/core -o username=user1,password=pw1

I tried added the 'nobrl' during troubleshooting since I found a post about OpenOffice possibly needing that.

Another thing I've noticed is that if I try to go through the GUI I cannot open the share. I can see the share and when I double click on it I get a prompt for username/password but then I get an error message about unable to mount Windows share.

I see the that root is the owner of 'core' and I've tried chmod 777 on that folder (while it was not mounted).
Old 06-09-2009, 11:21 AM   #2
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,087

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Try sudo mount -rw etc etc
also use nano to edit fstab or mtab for read/write
as root "nano /etc/fstab" or "nano /etc/mtab"
Old 06-09-2009, 11:40 AM   #3
Registered: Jul 2007
Location: Scunthorpe, UK
Distribution: Ubuntu 8.10; Gentoo; Debian Lenny
Posts: 961

Rep: Reputation: 69
If already mounted;
 mount -t cifs // /home/user1/core -o username=user1,password=pw1,rw,remount
If not, ignore the obvious 'remount'
Old 06-09-2009, 12:19 PM   #4
LQ Newbie
Registered: Sep 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Thanks for the rw idea, I just tired that but it made no difference.
Old 06-11-2009, 01:55 AM   #5
LQ Newbie
Registered: Sep 2007
Posts: 28

Original Poster
Rep: Reputation: 15
Also tried:

sudo mount -t cifs // /home/user1/core -o username=user1,password=pw1,rw,iocharset=utf8,file_mode=0777,dir_mode=0777 0 0

That generates an error unless I get rid of the '0 0' at the end of line.

The share I am trying to connect to is on a DNS-323 nas box. There is no network issues since I have R/W access using either Win XP or Kubuntu 7.04.

Another posts suggested adding smbfs, did this with no luck. But I think the '-t cifs' just ignores the smbfs and tries to talk via cifs.

One poster address his(her) issue via:
"I've FunPlugged my DLink DNS321 for SSH & NFS. The SSH let me setup a different user account 1000:1000 and set all exported dirs/files to that (instead of the default 502:702). This obviated the whole problem of permissions-management on Ubuntu."
When I check permissions it lists as 502:708 My local Ubuntu account is 1000. I'm wondering if this is the problem but I don't follow what the quote means. It sounds like he changed the owner on his (remote) files to be owned by uid 1000 - is that correct?

Last edited by vegastech; 06-11-2009 at 02:00 AM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
root unable to write on drive mounted with read/write perrmission aquash2000 Linux - Server 5 07-19-2008 01:20 PM
Mounted read-write Fat32 partition suddenly becomes read-only?? hohead Linux - General 8 04-05-2007 01:17 PM
Allowing read/write on mounted captive-ntfs partition divsky Linux - General 6 04-15-2004 11:52 AM
Mounted drive read-only! MultiMike Linux - Newbie 8 06-09-2003 05:21 PM
Fs mounted in Read Only , Read Write Mode benjaminrtz Linux - General 2 07-31-2002 03:52 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:11 PM.

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