public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Fabio Fabbri" <fabio.fabbri@bo.nettuno.it>
To: <cygwin@cygwin.com>
Subject: NFS server
Date: Mon, 12 Feb 2001 12:59:00 -0000	[thread overview]
Message-ID: <003b01c09536$8e49aea0$0a01a8c0@pcfabio> (raw)

First of all thanks for the cygwin environment. It's great.

Using the sources from
ftp://fr.rpmfind.net/linux/caldera/LTP/col/install/RPMS/nfs-2.2beta50-3.i386
.rpm
and small source modifications I  generate a dog slow NFS server under
cygwin,
and it sort of works. I had to generate a rpcdll with some minor
modifications from
http://www.hirmke.de/software/develop/gnuwin32/cygwin/porters/Hirmke_Michael
/GNUWin32-links.html#sunrpc-4.0
I modified my /etc/passwd to have my login account with admin privileges on
NT 4.0
seen as root, uid=gid=0. Obviously security is null, but it is a small LAN.
When I export cygwin root, FAT filesystem, with all_squash to root my
clients see all files
-rwxr--r--, the same as I see from a local ls -l.
This means that unless I am root on the clients I cannot write on the
mounted filesystem.
In fhandler.cc the function
int fhandler_disk_file::fstat (struct stat *buf)
says that
      /* | S_IWGRP | S_IWOTH; we don't give write to group etc */
On a FAT filesystem security is always low, so maybe you could set any
writeable file to
-rwxrwxrwx
Well I could try it by myself, but I have a slow connection, and downloading
a snapshot
takes hours. Maybe if you also store CVS informations on the snapshots I may
just download
a snapshot and use it to kickstart CVS updates ...

Thanks


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

             reply	other threads:[~2001-02-12 12:59 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-12 12:59 Fabio Fabbri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-05-14 14:41 nfs server Daniel_Casey
2003-05-14 14:41 ` Igor Pechtchanski
2003-05-14  2:34 Robb, Sam
2003-05-14  3:40 ` Igor Pechtchanski
2003-05-13 23:36 Daniel_Casey
2003-05-14  0:25 ` Igor Pechtchanski
2003-05-13 22:25 Daniel_Casey
2003-05-14  0:01 ` Igor Pechtchanski
2003-05-13 21:39 Daniel_Casey
2003-05-13 21:53 ` Igor Pechtchanski
2003-05-13 21:25 Robb, Sam
2003-05-13 20:33 Robb, Sam
2003-05-13 20:31 Daniel_Casey
2003-05-13 20:23 Robb, Sam
2003-05-13 19:18 Daniel_Casey
     [not found] <199708241719.MAA32270@cirrusnet.com>
1997-08-25  6:51 ` NFS Server Murat Demircioglu
1997-08-24 21:07 dahms
1997-08-25  6:51 ` Ron G. Minnich
1997-08-20 14:12 Murat Demircioglu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='003b01c09536$8e49aea0$0a01a8c0@pcfabio' \
    --to=fabio.fabbri@bo.nettuno.it \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).