Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-17-2007, 07:33 AM   #1
Registered: Mar 2006
Distribution: Ubuntu
Posts: 91

Rep: Reputation: 15
Permissions cannot touch `testFile': Read-only file system


I have got a real strange problem if I try to create a new file, every time I try to create it tells me it is a "Read-only file system" that I am trying to create it on. (eg adrianr@geko80:/media/music_safe$ touch pig
touch: cannot touch `pig': Read-only file system" If I do a ls -l on the directory it shows me the following:-

drwxrwxrwx 3 adrianr adrianr 4096 2007-04-16 23:29 .
drwxrwxrwx 6 root root 4096 2007-04-16 21:52 ..
drwxrwxrwx 105 777 adrianr 4096 2007-04-17 11:36 music_safe

This directory is nfs mounted on another machine and if I logon to that server I can create files ok.

How can I make this writable by my client machine?

Old 04-17-2007, 08:10 AM   #2
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
sounds like the nfs export is indeed readonly... have you checked /etc/exports on the serveR?
Old 04-17-2007, 08:13 AM   #3
Registered: Mar 2006
Distribution: Ubuntu
Posts: 91

Original Poster
Rep: Reputation: 15

This is a copy of the exports file on the server.

# /etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
# Example for NFSv2 and NFSv3:
# /srv/homes hostname1(rw,sync) hostname2(ro,sync)
# Example for NFSv4:
# /srv/nfs4 gss/krb5i(rw,sync,fsid=0,crossmnt)
# /srv/nfs4/homes gss/krb5i(rw,sync)
#/media/windows/home2/music geko80(rw)
#/media/hdb6/media/music_safe geko80(rw)
/media/music_safe (rw,sync,no_root_squash)

It looks ok.


nfs, permissions, share

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
web server (fedora core 5) became read-only file system after i upload a file nggs8411 Linux - Server 1 03-26-2007 10:23 AM
How to read .chm file in fedora, can't mount ntfs file system ishti_du Linux - Newbie 12 03-06-2007 04:27 AM
touch file in every users home, then change permissions paul_mat Linux - Networking 1 05-01-2006 07:06 PM
Can't boot Mandrake 10.0, "Cannot touch, Read-Only File System" RasutoIbuki Mandriva 5 07-23-2004 09:57 PM
Change from Read only to Read Write File System? justiceisblind Linux - Newbie 3 03-03-2002 08:23 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:18 AM.

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