public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: noacl functionality for MS-DOS destination paths?
Date: Fri, 19 Dec 2008 11:46:00 -0000	[thread overview]
Message-ID: <20081219114543.GA24117@calimero.vinschen.de> (raw)
In-Reply-To: <494B28B9.1070902@i12.com>

On Dec 18 20:53, Lawrence Mayer wrote:
> Is there any way to get noacl functionality when using MS-DOS destination 
> paths?
>
> My etc/fstab file (below) applies noacl for UNIX destination paths e.g.
>
> C:\cygwin\bin\mkdir.exe /c/foo
>
> creates directory C:\foo with NTFS default permissions inherited from 
> parent directory C:\ (the same as DOS mkdir C:\foo would do).
>
> But an MS-DOS destination path, e.g.
>
> C:\cygwin\bin\mkdir.exe C:\foo
>
> causes Cygwin to ignore noacl in etc/fstab and create C:\foo with 
> POSIX-like permissions (non-NTFS default and not inherited from parent 
> directory C:\).
>
> According to http://cygwin.com/1.7/cygwin-ug-net.html#mount-table
>
> "Otherwise, the handling of MS-DOS filenames bypasses the mount table"
>
> But if Cygwin 1.7 bypasses etc/fstab for MS-DOS filenames and no longer 
> supports the nontsec option, I'm stuck.
>
> When using MS-DOS destination paths in Cygwin 1.7, is there any way to get 
> noacl functionality - i.e. where Cygwin creates objects with NTFS default 
> permissions inherited from their parent directory rather than POSIX-like 
> permissions?
>
> If not, are there any plans to add such functionality to Cygwin 1.7?

Not yet.  I'm reluctant to add a setting just for DOS paths.  What we
could do is to handle incoming DOS paths always in dumb Windows mode
(noacl,posix=0).  Given that they are not POSIX paths anyway, there's
probably not a lot of sense in treating them POSIXy.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

  reply	other threads:[~2008-12-19 11:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19  4:53 Lawrence Mayer
2008-12-19 11:46 ` Corinna Vinschen [this message]
2008-12-19 22:47   ` Lawrence Mayer
2008-12-19 23:24     ` Larry Hall (Cygwin)

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=20081219114543.GA24117@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --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).