From owner-freebsd-bugs Mon Dec 15 14:40:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA22607 for bugs-outgoing; Mon, 15 Dec 1997 14:40:05 -0800 (PST) (envelope-from owner-freebsd-bugs) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA22572; Mon, 15 Dec 1997 14:40:01 -0800 (PST) (envelope-from gnats) Resent-Date: Mon, 15 Dec 1997 14:40:01 -0800 (PST) Resent-Message-Id: <199712152240.OAA22572@hub.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@FreeBSD.ORG, jin@adv-pc-1.lbl.gov Received: from adv-pc-1.lbl.gov (adv-pc-1.lbl.gov [128.3.196.189]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA22160 for ; Mon, 15 Dec 1997 14:33:41 -0800 (PST) (envelope-from jin@adv-pc-1.lbl.gov) Received: (from jin@localhost) by adv-pc-1.lbl.gov (8.8.7/8.8.7) id OAA05522; Mon, 15 Dec 1997 14:33:40 -0800 (PST) (envelope-from jin) Message-Id: <199712152233.OAA05522@adv-pc-1.lbl.gov> Date: Mon, 15 Dec 1997 14:33:40 -0800 (PST) From: Jin Guojun (ITG staff) Reply-To: jin@adv-pc-1.lbl.gov To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: kern/5305: access permission on foreign disk fails Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >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: