"John P. Looney" wrote:
>> On Wed, Apr 11, 2001 at 10:23:48AM +0100, stuhughes at eircom.net mentioned:
> > Hi all,
> > I have a question about disk and partition mounting, I want to mount a
> > windows NT partition in linux, but the mount command does not recognise
> > the file system NTFS. is it possible to mount NTFS partitions in linux?
>> Yep, but you will need the NTFS module loaded - which may required that
> you recompile your kernel with NTFS support. Warning - by default, it
> doens't include write-to-ntfs support. That has to be turned on separately
> (as the write code isn't considered stable).
>> No. The user you are logged in as has to match the UID of the files on
> the NFS filesystem - it's not like SMB where you set the permissions on
> the files with a username/password.
>> Basically, create an account on the linux box that has the same UIDs as
> the files on the NFS fileserver. It's the userid number, not the login
> name that has to match, BTW.
>> Kate
You also have the option of giving the directory (and subdirectories)
777 permissions, and exporting the dir read/write (adding rw to the
options in /etc/exports) for your ip address. Of course, this means that
anyone using your machine will be able to write to the nfs mounted
partition, but you could allow only root & yourself permissions to mount
& umount it, which is at least some small protection. If your machines
are single-user, this is an option.
Possibly the best option would be to create an nfswrite group (or
something) with the same gid on both machines, which is slightly less
hassel than syncing up uids, and the change the group of the directory
and giving it (and all the files in it) permissions g+w and adding
yourself to that group locally.
Cheers,
Dave.
--
David Neary, E-Mail dave.neary at palamon.ie
Palamon Technologies Ltd. Phone +353-1-634-5059
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!