LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Permissions cannot touch `testFile': Read-only file system (https://www.linuxquestions.org/questions/linux-software-2/permissions-cannot-touch-%60testfile-read-only-file-system-546725/)

windsurfer 04-17-2007 06:33 AM

Permissions cannot touch `testFile': Read-only file system
 
Hi

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?

Adrian

acid_kewpie 04-17-2007 07:10 AM

sounds like the nfs export is indeed readonly... have you checked /etc/exports on the serveR?

windsurfer 04-17-2007 07:13 AM

Hi

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 192.168.1.0/255.255.255.0 (rw,sync,no_root_squash)

It looks ok.


All times are GMT -5. The time now is 02:10 PM.