Changeset 105 for branches/samba-3.0/source/smbd/open.c
- Timestamp:
- Nov 26, 2007, 9:24:27 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/smbd/open.c
r44 r105 1940 1940 const char *dirname; 1941 1941 NTSTATUS status; 1942 BOOL posix_open = False; 1942 1943 1943 1944 if(!CAN_WRITE(conn)) { … … 1958 1959 1959 1960 if (file_attributes & FILE_FLAG_POSIX_SEMANTICS) { 1961 posix_open = True; 1960 1962 mode = (mode_t)(file_attributes & ~FILE_FLAG_POSIX_SEMANTICS); 1961 1963 } else { … … 1980 1982 name)); 1981 1983 return NT_STATUS_ACCESS_DENIED; 1984 } 1985 1986 if (lp_store_dos_attributes(SNUM(conn))) { 1987 if (!posix_open) { 1988 file_set_dosmode(conn, name, 1989 file_attributes | aDIR, NULL, 1990 parent_dir); 1991 } 1982 1992 } 1983 1993
Note:
See TracChangeset
for help on using the changeset viewer.