public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: call to writeable_directory in _unlink: Do we need it?
       [not found] <4.3.1.2.20000524132333.00e5d910@pop.ma.ultranet.com>
@ 2000-05-24 10:54 ` Corinna Vinschen
  0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2000-05-24 10:54 UTC (permalink / raw)
  To: Larry Hall (RFK Partners, Inc); +Cc: cygwin

"Larry Hall (RFK Partners, Inc)" wrote:
> [...]
> I guess I can only offer my opinion because I don't have any experience
> with this code.  If writable_directory() is doing something wrong in both
> the ntsec and nontsec modes, it should be fixed (where eliminating it is
> 1 possible fix).  If its doing something wrong for just ntsec cases, I'd
> say conditionalize it.  I guess the big question that your description
> doesn't answer for me is, what do we loose by pulling it out as you
> describe?

What we loose is the following:

In UNIX/Linux you may not
	remove a file,
	rename a file,
	mkdir a new subdir
if you don't have write permissions to the parent directory.

In Windows you may all of the above. In Cygwin you are
actually disallowed that for being similar to U*X.

What we loose is that a user is disallowed to do something
in Cygwin while s/he may do that when using cmd or Explorer
under the same conditions.

The difference between ntsec and nontsec is that ntsec acts
(more or less) correct while nontsec only sets permission
bits and UID/GID to common values which _never_ results in
any problems with samba because the access function always
is sure that the user has sufficient permissions.

Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-05-24 10:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <4.3.1.2.20000524132333.00e5d910@pop.ma.ultranet.com>
2000-05-24 10:54 ` call to writeable_directory in _unlink: Do we need it? Corinna Vinschen

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).