*BSD News Article 78339


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!solace!news.stealth.net!www.nntp.primenet.com!nntp.primenet.com!howland.erols.net!newsfeed.internetmci.com!in3.uu.net!twwells!twwells!not-for-mail
From: bill@twwells.com (T. William Wells)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: getcwd gives 'permission denied' error on second drive only
Date: 14 Sep 1996 21:32:05 -0400
Organization: None, Mt. Laurel, NJ
Lines: 17
Message-ID: <51fmal$aeg@twwells.com>
References: <51eepa$2mo@groa.uct.ac.za>
NNTP-Posting-Host: localhost.twwells.com

In article <51eepa$2mo@groa.uct.ac.za>,
Mark Cammidge <mark@foxbat.sur.uct.ac.za> wrote:
: I'm using: FreeBSD 2.1.0
:
: I have 2 ide drives, each with 2 slices, one dos slice and one bsd
: slice.  The bsd slices are second on both disks.  The BSD slice
: on the first disk is partitioned into  root, /usr and swap
: partitions.
:
: The bsd slice on the second disk is partitioned into a /usr2
: partition, and a swap partition.
:
: Both /usr and /usr2 are owner=root group=wheel, and both
: have permissions set to rwxr-xr-x.

Unmount /usr2. Check the permissions on the underlying directory.
I'll bet they're not 755.