[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] Re:
Hi James,
I only get the digest version so you've maybe already had this
suggestion. I don't seem to have had this problem on Linux
yet but on SGI's version of unix they made a change
between one version of the OS and the next (imho a
stupid one) so that if you exported a filesystem to any hosts
as rw then it had the effect of exporting it to all other hosts in your
/etc/hosts file as ro. Simultaneously, presumably under the guise
of increased security, they changed the way /etc/exports worked
so that where previously you could have:
/directory -rw=host1:host2:host3:...
you now needed:
/directory -rw=host1.shef.ac.uk:host2.shef.ac.uk:...
And to cap off this stupidity, they changed the way mount worked
so that if you had rw in /etc/fstab and the file you were trying to
mount was exported ro, it just silently mounted it as ro AND it
listed it in /etc/mtab as rw (just to make sure that the user
was totally screwed after upgrading the system - as
of course I was, and I went thru the same hair-pulling
time as you've been).
Anyway, I would hope Linux was smarter than this, but
maybe trying a different version of the hostname in
exports might help.
> From: James Wallbank <james [at] lowtech.org>
> To: shef-lug [at] list.sheflug.org.uk
> Date: 27 Nov 2002 12:13:12 +0000
> Subject: [Sheflug] Exported filesystem permissions... Urgent Help Please!
> Reply-To: shef-lug [at] list.sheflug.org.uk
>
> Hello Everyone,
>
> Thanks for your suggestions re: my Caldera Horror. I just did a late
> nighter (5:30am) to rebuild a new server. I've sorted out everything
> except ONE PROBLEM - which should be a no-brainer, but I'm absolutely
> zonked-out and I can't think of the answer.
>
> NIS works - so the passwd and group files are being served out.
> NFS works - so /home is exported to the network
>
> However, when I log onto one of the clients as a normal user then I get
> the message
>
> "Could not write to $HOME. $HOME is a read only filesystem".
>
> In my case, $HOME is /home/james which is correct.
> Permissions for /home/james are 700 - and I'm the owner.
> Permissions for /home are 711 - root is the owner.
>
> I've tried 777 on both of these (simultaneously) with no joy. It still
> says $HOME is a read-only filesystem.
>
> The relevant bit of /etc/exports reads
>
> /home 192.168.1.0/255.255.255.0 (rw)
>
> Read and write, which should be good.
>
> The relevant bit of /etc/fstab reads
>
> /dev/hdc1 /home ext3 user,rw 1 2
>
> This used to read 'defaults' but I changed it.
>
> Please, please, please! What is the annoyingly small thing that I'm
> overlooking? I have Access Space users here who can see their home
> directories, but can't write to them. Argh! A fast response would be a
> godsend.
>
> Thanks in advance for your help,
>
> James
> =====
>
> --
> James Wallbank
> Redundant Technology Initiative
> Access Space - 1 Sidney Street - Sheffield - S1 4RG - UK
> T: +44 (0)114 2495522
> F: +44 (0)114 2495533
>
--
***** Dr Jan White ***************************
* Molecular Biology, Sheffield University *
* Phone: +44 114 222 2741 FAX: 272 8697 *
***** E-Mail: Jan.White [at] sheffield.ac.uk *******
___________________________________________________________________
Sheffield Linux User's Group -
http://www.sheflug.co.uk/mailfaq.html
GNU the choice of a complete generation.