From 7b66e876d196d610680bcb8adb2cf40b33b59640 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 20 Mar 1996 21:02:17 +0000 Subject: (diskfs_lookup_hard): Don't do initial permission checking here. --- ufs/dir.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'ufs') diff --git a/ufs/dir.c b/ufs/dir.c index 16364071..73ed5f02 100644 --- a/ufs/dir.c +++ b/ufs/dir.c @@ -120,12 +120,6 @@ diskfs_lookup_hard (struct node *dp, char *name, enum lookup_type type, if (namelen > MAXNAMLEN) return ENAMETOOLONG; - if (!S_ISDIR (dp->dn_stat.st_mode)) - return ENOTDIR; - err = diskfs_access (dp, S_IEXEC, cred); - if (err) - return err; - try_again: if (ds) { -- cgit v1.2.3