How to remount hotplugged USB drive as noacl (for use with rsync)?

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Tue Feb 4 16:27:00 GMT 2014


On 2/4/2014 11:09 AM, carolus wrote:
> On 2/4/2014 9:10 AM, Andrey Repin wrote:
>>> >  How can one remount a hotplugged NTFS external USB drive as noacl?  (I
>>> >  take it this is necessary to get sensible Windows permissions when using
>>> >  rsync for backup.  If not, please correct me.)
>> Change the /cygdrive entry in /etc/fstab
>> Then you'll get normal Windows permissions everywhere, except, perhaps, the
>> Cygwin root.
>
> Is this what you mean?
>
> none /cygdrive cygdrive binary,posix=0,user,noacl,override 0 0
>
> Is this a "good thing" to do?  I find the following advice from the FAQ
> intimidating:
>
>   Therefore, the root directory evaluated by Cygwin itself is treated as an
> immutable mount point and can't be overridden in /etc/fstab... unless you
> think you really know what you're doing. In this case, use the override flag
> in the options field in the /etc/fstab file. Since this is a dangerous thing
> to do, do so at your own risk.

This is talking about the root directory (/) for Cygwin, not the cygdrive
directory.

> Will this affect my permission-dependent stuff like ssh authentication?

If your home directory is under the Cygwin root directory, then ssh
authentication won't be affected.


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



More information about the Cygwin mailing list