Commit Graph

57 Commits

Author SHA1 Message Date
Christopher Faylor 7e06494e35 * dir.cc (rmdir): Use file attributes that have already been discovered
by path_conv.
2000-05-25 21:02:28 +00:00
Christopher Faylor e3df22607a * dir.cc (rmdir): Use file attributes that have already been discovered by
path_conv.
2000-05-25 19:48:45 +00:00
Corinna Vinschen 382541f2f2 Patch by Kazuhiro Fujieda <fujieda@jaist.ac.jp>:
* dir.cc (rmdir): Correct the manner in checking the target directory.
2000-05-25 10:27:36 +00:00
Corinna Vinschen 154110f5d3 * dir.cc (writable_directory): Comment out previous code,
return always 1 for now.
        (mkdir): Call set_file_attribute explicitely with S_IFDIR mode bit.
        * syscalls.cc (chown_worker): Ditto.
        (chmod): Ditto.
        * security.cc (get_nt_attribute): Fix error in debug output.
        Never set FILE_DELETE_CHILD for files.
        Construct appropriate inherit attribute according to file type.
2000-05-24 20:09:43 +00:00
DJ Delorie 98c6450eaa * dir.cc (writable_directory): handle root directories 2000-05-23 19:25:18 +00:00
Corinna Vinschen 6892216822 * dir.cc (rmdir): Care for misleading error messages
when trying to remove a directory on a samba share.
        Eliminate superfluous else branch.
        * syscalls.cc (_rename): Additional check for ERROR_FILE_EXISTS
        if MoveFile fails.
2000-05-22 17:15:47 +00:00
Christopher Faylor 1fd5e000ac import winsup-2000-02-17 snapshot 2000-02-17 19:38:33 +00:00