Re: Accessing a NFS mounted directory as a user.
Clive,
Thanks for pointing me in the right direction. From what you say it seems I
don't need NIS; which is a relief!
Nigel
On Wed, 04 Jun, Clive Menzies wrote:
> On (04/06/03 15:45), N. Pauli wrote:
> > I have got NFS up and running on my 3 machine network in which beech
> [10.0.0.5]
> > is the server and mesh [10.0.0.6] and tecra [10.0.0.7] are clients. From
> beech
> > I have exported /tmp and /var/www and mounted them on the two clients as
> > /mnt/beechtmp and /mnt/beechweb respectively. I can read and write to
> > /mnt/beechtmp (I guess because it is setup as world rwx) but would like to
> be
> > able to write to /mnt/beechweb - at the moment I cannot.
> >
> > /mnt/beechweb and all its files and sub-directories are user:group www-data
> > www-data. At the moment users can read from /mnt/beechweb but how can I
give > a
> > user on mesh or tecra the right to write? Do I need to do this through NIS
> or
> > is this overkill?
> >
> > Any help or pointers would be appreciated.
>
> Hi Nigel
>
> You can achieve this using chmod (to change permissions) and chown (to
> vary ownership - user, group etc.)
>
> Try man chown and man chmod for more detail. If you add your users to
> the group that owns the files and give read and write permission to the
> group.
>
> HTH
>
> Clive
>
--
Nigel Pauli
Network Manager
St. John's School, Northwood
Reply to: