Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: getcwd / Biblio and APM
- To: tlug@example.com
- Subject: Re: getcwd / Biblio and APM
- From: Shimpei Yamashita <shimpei@example.com>
- Date: Sun, 21 Jan 2001 23:19:46 +0900
- Content-Transfer-Encoding: 7bit
- Content-Type: text/plain; charset=us-ascii
- In-Reply-To: <Pine.LNX.4.10.10101211858550.18998-100000@example.com>; from laszlo@example.com on Sun, Jan 21, 2001 at 07:29:03PM +0900
- References: <Pine.LNX.4.10.10101211858550.18998-100000@example.com>
- Reply-To: tlug@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <6NEvjD.A._3C.YGva6@example.com>
- Resent-Sender: tlug-request@example.com
On Sun, Jan 21, 2001 at 07:29:03PM +0900, Tony Laszlo wrote: > * when I su to become a certain user, I get the following error: > > shell-init: could not get current directory: getcwd: cannot access parent ^^^^^^ > directories: Permission denied > > I checked the permissions on the directory and getcwd, and can't find > what is out of order. This may have something to do with the fact that > a Mac machine is using Appleshare to access this directory. Maybe > something got changed somewhere when that started up recently... > > However. the su works. nothing suffers due to the problem, apparently. > do I need to fix this, and how? Do all the parent directories above that directory have read and execute permissions for that user? Mind you, there are situations where not giving parent directory access is the Right Thing to do (e.g., accounts dedicated to daemons). If you don't fix it, some badly written programs that insist on getting the full absolute path of the current directory may suffer, although I can't really think of one offhand. -- Shimpei Yamashita http://www.shimpei.org/
- Follow-Ups:
- Re: getcwd / Biblio and APM
- From: Tony Laszlo <laszlo@example.com>
- References:
- getcwd / Biblio and APM
- From: Tony Laszlo <laszlo@example.com>
Home | Main Index | Thread Index
- Prev by Date: getcwd / Biblio and APM
- Next by Date: Re: Sparc info from meeting
- Prev by thread: getcwd / Biblio and APM
- Next by thread: Re: getcwd / Biblio and APM
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links