diff options
Diffstat (limited to 'winsup/cygwin/fhandler.cc')
-rw-r--r-- | winsup/cygwin/fhandler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.cc b/winsup/cygwin/fhandler.cc index 82fa034cd..9539d049a 100644 --- a/winsup/cygwin/fhandler.cc +++ b/winsup/cygwin/fhandler.cc @@ -954,7 +954,7 @@ fhandler_disk_file::fstat (struct stat *buf) /* | S_IWGRP | S_IWOTH; we don't give write to group etc */ if (get_symlink_p ()) - buf->st_mode |= S_IFLNK; + buf->st_mode |= S_IFLNK | S_IRWXU | S_IRWXG | S_IRWXO; else if (get_socket_p ()) buf->st_mode |= S_IFSOCK; else |