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

carolus worwor@bellsouth.net
Tue Feb 4 16:42:00 GMT 2014


On 2/4/2014 10:27 AM, Larry Hall (Cygwin) wrote:
> 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.
>
I'm a bit fuzzy about the distinction and haven't time at the moment to 
think about it.
Will the line proposed above for /etc/fstab do the right thing?



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