summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/path.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2007-03-01 15:13:47 +0000
committerChristopher Faylor <me@cgf.cx>2007-03-01 15:13:47 +0000
commit6e070c257c9026b433cdae7b0ad7f2ba909558bf (patch)
treeb9b2ced0b412b53afd7ae4068de5c604c7db6c71 /winsup/cygwin/path.cc
parenta49625d566c34c895ed2eac3055977bb07c319b7 (diff)
downloadcygnal-6e070c257c9026b433cdae7b0ad7f2ba909558bf.tar.gz
cygnal-6e070c257c9026b433cdae7b0ad7f2ba909558bf.tar.bz2
cygnal-6e070c257c9026b433cdae7b0ad7f2ba909558bf.zip
* Makefile (DLL_OFILES): Remove ntea.o
* environ.cc (set_ntea): Delete. (parse_thing): Delete "ntea" setting. * fhandler.cc (fhandler_base::open): Remove allow_ntea considerations. (check_posix_perm): Ditto. * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Ditto. (fhandler_base::open_fs): Ditto. (fhandler_disk_file::mkdir): Ditto. * path.cc (symlink_worker): Ditto. * security.cc (get_file_attribute): Ditto. (set_file_attribute): Ditto. * security.h: Remove allow_ntea declaration.
Diffstat (limited to 'winsup/cygwin/path.cc')
-rw-r--r--winsup/cygwin/path.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc
index a29eaa7e6..72d8220ee 100644
--- a/winsup/cygwin/path.cc
+++ b/winsup/cygwin/path.cc
@@ -2976,10 +2976,6 @@ symlink_worker (const char *oldpath, const char *newpath, bool use_winsym,
if (success)
{
CloseHandle (h);
- if (!allow_ntsec && allow_ntea)
- set_file_attribute (false, NULL, win32_path.get_win32 (),
- S_IFLNK | S_IRWXU | S_IRWXG | S_IRWXO);
-
DWORD attr = use_winsym ? FILE_ATTRIBUTE_READONLY
: FILE_ATTRIBUTE_SYSTEM;
#ifdef HIDDEN_DOT_FILES