🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.sys5
Article #618

mount permissions bug

#618
From: Jerry Carlin
Date: Wed, 14 Oct 1987 15:55
26 lines
1321 bytes

Is this a bug or a feature? :-)

Symptom: pwd and ls sometimes gave errors in one filesystem (/foo). 

Repeat by: cd /foo; su user-with-different-uid/gid; pwd failed.
	   cd /; same su; cd foo; pwd worked ok.

Also:	from /foo, cd .. did not work.  
	ls -a showed .. but ls -al could not find ./..  
	ls -ld /foo showed mode 755

Solution: 

The file system /foo had mode 755 but the directory /foo that the foo
filesystem was mounted on was mode 770.  All I had to do was umount the
filesystem, chmod 777 the mount point and remount the filesystem.

Moral: Make sure your mount points are mode 777.

This occured on an AT&T 3B5 running UNIX V.2. Your mileage may vary.

-- 
voice: (415) 823-2441	uucp: {ihnp4,lll-crg,ames,qantel,pyramid}!ptsfa!jmc
Where am I? In the village. Whose side are you on? That would be telling.
Technical Details
Message-ID: <3501@ptsfa.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!beta!hc!ames!ptsfa!jmc

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!husc6!cmcl2!beta!hc!ames!ptsfa!jmc
From: jmc@ptsfa.UUCP (Jerry Carlin)
Newsgroups: comp.bugs.sys5
Subject: mount permissions bug
Message-ID: <3501@ptsfa.UUCP>
Date: Wed, 14-Oct-87 11:55:21 EDT
Article-I.D.: ptsfa.3501
Posted: Wed Oct 14 11:55:21 1987
Date-Received: Fri, 16-Oct-87 00:54:09 EDT
Organization: Pacific * Bell, San Ramon, CA
Lines: 26
Keywords: mount chmod ls pwd