Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Dec 1997 14:33:40 -0800 (PST)
From:      Jin Guojun (ITG staff) <jin@adv-pc-1.lbl.gov>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   kern/5305: access permission on foreign disk fails
Message-ID:  <199712152233.OAA05522@adv-pc-1.lbl.gov>
Resent-Message-ID: <199712152240.OAA22572@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         5305
>Category:       kern
>Synopsis:       access permission on foreign disk fails
>Confidential:   yes
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 15 14:40:00 PST 1997
>Last-Modified:
>Originator:     Jin Guojun (ITG staff)
>Organization:
>Release:        FreeBSD 2.2.5-RELEASE i386
>Environment:

	FreeBSD 2.2.5-RELEASE i386

>Description:

	group and other access permission on foreign disk fail in
	2.2.5-RELEAE.
	It works on local disk. The Foreign file system is Solaris-2.6.
	

>How-To-Repeat:

# id
uid=0(root) gid=0(wheel) groups=0(wheel), 2(kmem), 3(sys), 4(tty), 5(operator), 10(staff), 31(guest), 100(advdev), 144(iss)

[390] adv-pc-1.lbl.gov: mkdir test/t1
[391] adv-pc-1.lbl.gov: ll test/t1
total 4
drwxr-xr-x  2 jin  bin  512 Dec 15 14:11 ./
drwxr-x---  3 jin  bin  512 Dec 15 14:11 ../
[392] adv-pc-1.lbl.gov: chmod o-rx test/t1
[393] adv-pc-1.lbl.gov: ll test/t1
total 4
drwxr-x---  2 jin  bin  512 Dec 15 14:11 ./
drwxr-x---  3 jin  bin  512 Dec 15 14:11 ../

GOTO ROOT WINDOW
# ll /tmp/test
total 1
drwxr-x---  2 jin  bin  512 Dec 15 14:11 t1

# ll /tmp/test/t1


SWITCH back to user window

[394] adv-pc-1.lbl.gov: chgrp advdev test test/t1
[395] adv-pc-1.lbl.gov: ll test/t1
total 4
drwxr-x---  2 jin  advdev  512 Dec 15 14:11 ./
drwxr-x---  3 jin  advdev  512 Dec 15 14:11 ../
[396] adv-pc-1.lbl.gov: tar -cf - test | (cd ~; tar -xvf -)
 
test/
test/t1/
[397] adv-pc-1.lbl.gov: ll ~/test
total 12
drwxr-x---   3 jin  advdev   512 Dec 15 14:11 ./
drwxr-xr-x  58 jin  advdev  4096 Dec 15 14:13 ../
drwxr-x---   2 jin  advdev   512 Dec 15 14:11 t1/


SWITCH to root window ************************
# ll /tmp/test/t1
# ll ~jin/test
ls: test: Permission denied

SWITCH to user
[398] adv-pc-1.lbl.gov: chgrp bin ~/test

SWITCH to root
# ll ~jin/test
ls: test: Permission denied

>Fix:
	
	

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712152233.OAA05522>