* dir.cc (mkdir): Abandon use of PC_WRITABLE.

(rmdir): Ditto.
* path.h (PC_WRITABLE): Delete.
* path.cc (path_conv::check): Remove PC_WRITABLE accommodations.  Revisit
later.
This commit is contained in:
Christopher Faylor
2005-10-12 20:38:38 +00:00
parent 48882f9a07
commit bf1550b6f8
4 changed files with 16 additions and 13 deletions

View File

@@ -925,14 +925,7 @@ virtual_component_retry:
out:
bool strip_tail = false;
/* If the user wants a directory, do not return a symlink */
if ((opt & PC_WRITABLE) && (path_flags & PATH_RO))
{
debug_printf ("%s is on a read-only filesystem", path);
error = EROFS;
return;
}
else if (dev.devn == FH_NETDRIVE && component)
if (dev.devn == FH_NETDRIVE && component)
{
/* This case indicates a non-existant resp. a non-retrievable
share. This happens for instance if the share is a printer.