This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to mount all network drives noacl


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]