🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Jerry Carlin Wed, 14 Oct 1987 15:55
mount permissions bug
#618
Author: 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.
Re: mount permissions bug
#617
Author: Guy Harris
Date: Wed, 14 Oct 1987 19:59
11 lines
891 bytes
> Moral: Make sure your mount points are mode 777.

Or r-xr-xr-x, which is what I use to remind myself that the directory in
question is only a mount point.

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

Not by much, probably; it happens on most other UNIX systems.
	Guy Harris
	{ihnp4, decvax, seismo, decwrl, ...}!sun!guy
	guy@sun.com
Re: mount permissions bug - (nf)
#625
Author: jh
Date: Thu, 22 Oct 1987 11:18
13 lines
1006 bytes
AT&T's Release Notes for System V Release 3.1 say that this
behavior is a bug. It is found in the internal function namei().

For SYS5R3.1 wizzards: this and other problems could be fixed e.g. by
sending an empty string as the last component through namei() and
FS_NAMEI() (concept only!). Be aware what this would cause to RFS!

My Question: Does this behavior bother anybody - shall we fix it ?
At least it seems not to be a security leak.

	Johannes Heuft (PCS)
	unido!pcsbst!jh
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads