cygwin sets file permission to 000 -


i have folder /cygwin/d/myfolder/ , everytime save files there, cygwin if ls -la see files given permission 000. causes me quite bit of problem rsync folder server , none of files accessible. how can files automatically reasonable permission?

have read through answers @ link: http://cygwin.1069669.n5.nabble.com/vim-and-file-permissions-on-windows-7-td61390.html

the solution there worked me also:

edit /etc/fstab , add line @ end of file:

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

then close cygwin processes, open new terminal , ls -l on files again.

explanation: by default, cygwin uses filesystem's access control lists (acls) implement real posix permissions. windows-native program or process may create or modify acls such cygwin computes posix permissions 000. noacl mount option, cygwin ignores filesystem acls , fakes subset of permission bits based on dos readonly attribute.


Comments