Re: Help with ACL and POSIX permissions for external flash/HD.

2011-11-01 Thread Andrey Repin
Greetings, Oleksandr Gavenko! >> >> Is it right to update /etc/fstab to: >> >> h: /cygdrive/h ntfs binary,noacl,user 0 0 >> >> How can I set umask? In .bashrc? Why not uncomment the last line in original /etc/fstab and add ",noacl" there? >> What if I run >> Cygwin program from cmd? Faster to

Re: Help with ACL and POSIX permissions for external flash/HD.

2011-11-01 Thread David Sastre
On Tue, Nov 01, 2011 at 01:38:41PM +0200, Oleksandr Gavenko wrote: > 31.10.2011 23:00, David Sastre пишет: > >YMMV, but 'bash -l' should source your profile settings, both > >system-wide and user defined. > > Do you mean "bash -i"? From the manpage: -i If the -i option is present, the shell is

Re: Help with ACL and POSIX permissions for external flash/HD.

2011-11-01 Thread Oleksandr Gavenko
31.10.2011 23:00, David Sastre пишет: YMMV, but 'bash -l' should source your profile settings, both system-wide and user defined. Do you mean "bash -i"? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin

Re: Help with ACL and POSIX permissions for external flash/HD.

2011-10-31 Thread David Sastre
On Mon, Oct 31, 2011 at 10:39:27PM +0200, Oleksandr Gavenko wrote: > 30.10.2011 23:24, Oleksandr Gavenko пишет: > >How can I set umask? In .bashrc? Umask is already set system-wide in /etc/profile: # Default to removing the write permission for group and other # (files normally created with mod

Re: Help with ACL and POSIX permissions for external flash/HD.

2011-10-31 Thread Oleksandr Gavenko
30.10.2011 23:24, Oleksandr Gavenko пишет: I have problem with permission (files stand non-readable sometimes) on host when "rsync" or "hg clone/pull" done on external drive on another host. I read http://www.cygwin.com/cygwin-ug-net/ntsec.html partially understand text but don't know how to res

Help with ACL and POSIX permissions for external flash/HD.

2011-10-30 Thread Oleksandr Gavenko
I have problem with permission (files stand non-readable sometimes) on host when "rsync" or "hg clone/pull" done on external drive on another host. I read http://www.cygwin.com/cygwin-ug-net/ntsec.html partially understand text but don't know how to resolve my problem... From manual: To use W