i have ssh access to my MBWE (with 1 disk) and i'm trying to change the settings of the nfs shares.
I basically want to remove the anonuid and anongid settings so as to have every user create files with
the users uid/gid, instead of the nobody's uid/gid…
i can do what i want by altering the /etc/exports file directly, and then restarting the nfs service as
/erc/init.d/nfs restart (or something of the sort - i can't recall at the moment.)
problem is that after a reboot, the /etc/export file returns to its form before i tampered with it.
it is obvious that the file is overwritten during boot , by some other version.. where is that version????
i'm trying to find /dev/root (where / is mounted) but the link doesn't exist :(
so i don't know what /dev/root is.
so i tried dmesg which gives me the kernel boot option , where i read root=/dev/root , so i figured that the 1st partition on the disk is where the original files exist… so i mounted /dev/md0 and altered /etc/exports from there. but i still have the problem aftrer a reboot.
MY question is where should i altered the /etc/exports in order to make my changes permanent??
thank you all for your help!!