public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* How to mount all network drives noacl
@ 2014-07-15 15:24 Lemke, Michael  SZ/HZA-ZSW
  2014-07-15 15:30 ` Corinna Vinschen
  0 siblings, 1 reply; 4+ messages in thread
From: Lemke, Michael  SZ/HZA-ZSW @ 2014-07-15 15:24 UTC (permalink / raw)
  To: cygwin

I am sure this is described somewhere but I (or rather google) can't find it:

What to put into /etc/fstab to make any access to a network share use
the noacl option? E.g. cp ... //server1/path should create all files
with default Windows permissions on the remote end, same for //server2/path2 etc.


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to mount all network drives noacl
  2014-07-15 15:24 How to mount all network drives noacl Lemke, Michael  SZ/HZA-ZSW
@ 2014-07-15 15:30 ` Corinna Vinschen
  0 siblings, 0 replies; 4+ messages in thread
From: Corinna Vinschen @ 2014-07-15 15:30 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 624 bytes --]

On Jul 15 15:24, Lemke, Michael  SZ/HZA-ZSW wrote:
> I am sure this is described somewhere but I (or rather google) can't find it:
> 
> What to put into /etc/fstab to make any access to a network share use
> the noacl option? E.g. cp ... //server1/path should create all files
> with default Windows permissions on the remote end, same for //server2/path2 etc.

It's all in the cygdrive prefix:

  https://cygwin.com/cygwin-ug-net/using.html#cygdrive


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to mount all network drives noacl
  2014-07-15 15:59 Lemke, Michael  SZ/HZA-ZSW
@ 2014-07-15 16:18 ` Larry Hall (Cygwin)
  0 siblings, 0 replies; 4+ messages in thread
From: Larry Hall (Cygwin) @ 2014-07-15 16:18 UTC (permalink / raw)
  To: cygwin

On 07/15/2014 11:59 AM, Lemke, Michael SZ/HZA-ZSW wrote:
> On 15 Jul 2014 17:30:40 +0200,
> Corinna Vinschen wrote:
>> On Jul 15 15:24, Lemke, Michael  SZ/HZA-ZSW wrote:
>>> I am sure this is described somewhere but I (or rather google) can't find it:
>>>
>>> What to put into /etc/fstab to make any access to a network share use
>>> the noacl option? E.g. cp ... //server1/path should create all files
>>> with default Windows permissions on the remote end, same for //server2/path2 etc.
>>
>> It's all in the cygdrive prefix:
>>
>>   https://cygwin.com/cygwin-ug-net/using.html#cygdrive
>>
>
> Thanks, I would never have seen that.  So the answer is
>
> none / cygdrive binary,posix=0,user,noacl 0 0
>
> But that would also make my local drives not use acls, which I don't want.
> So is there a solution to have UNC paths use noacl and drives with a drive
> letter use acl?

Yes but you'll need to mount the network drives that you want to use noacl
individually.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: How to mount all network drives noacl
@ 2014-07-15 15:59 Lemke, Michael  SZ/HZA-ZSW
  2014-07-15 16:18 ` Larry Hall (Cygwin)
  0 siblings, 1 reply; 4+ messages in thread
From: Lemke, Michael  SZ/HZA-ZSW @ 2014-07-15 15:59 UTC (permalink / raw)
  To: cygwin

On 15 Jul 2014 17:30:40 +0200, 
Corinna Vinschen wrote:
>On Jul 15 15:24, Lemke, Michael  SZ/HZA-ZSW wrote:
>> I am sure this is described somewhere but I (or rather google) can't find it:
>>
>> What to put into /etc/fstab to make any access to a network share use
>> the noacl option? E.g. cp ... //server1/path should create all files
>> with default Windows permissions on the remote end, same for //server2/path2 etc.
>
>It's all in the cygdrive prefix:
>
>  https://cygwin.com/cygwin-ug-net/using.html#cygdrive
>

Thanks, I would never have seen that.  So the answer is

none / cygdrive binary,posix=0,user,noacl 0 0

But that would also make my local drives not use acls, which I don't want.
So is there a solution to have UNC paths use noacl and drives with a drive
letter use acl?

Thanks,
Michael


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-15 16:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-15 15:24 How to mount all network drives noacl Lemke, Michael  SZ/HZA-ZSW
2014-07-15 15:30 ` Corinna Vinschen
2014-07-15 15:59 Lemke, Michael  SZ/HZA-ZSW
2014-07-15 16:18 ` Larry Hall (Cygwin)

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