From owner-freebsd-fs Sun Jan 21 23:10:49 2001 Delivered-To: freebsd-fs@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 899E137B401 for ; Sun, 21 Jan 2001 23:10:32 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id f0M7AOm79598; Sun, 21 Jan 2001 23:10:24 -0800 (PST) Date: Sun, 21 Jan 2001 23:10:24 -0800 (PST) From: Doug White To: Dave Walton Cc: freebsd-fs@FreeBSD.ORG Subject: Re: suiddir and samba In-Reply-To: <3A689FFE.16050.192CED5@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Fri, 19 Jan 2001, Dave Walton wrote: > On 19 Jan 2001, at 19:29, Doug White wrote: > > > Use samba's 'inherit permissions' option instead. (or something like that, > > I don't have the man page handy) > > I've got "inherit permissions = yes", so the read/write bits are > inherited properly, but as it says in the samba docs: > > "Note that the setuid bit is *never* set via inheritance (the code > explicitly prohibits this)." > > So samba won't set that bit, even with inheritance turned on. But > as I understand it, suiddir should cause the inheritance to happen > at the filesystem level. So how come it's not getting set when > samba creates a directory? No, turn off suiddir and turn on inherit perms. They are mutually exclusive. Also Samba changes the mode on new directories and files according to the '[force] {directory,file} mode' options. Read the smb.conf manpage about inherit perms and directory mode and it should clear things up. This essentially makes suiddir useless unless you force samba to set the suid bit on created directories. And as I've said, if you're using 'inherit perms' you don't need suiddir. At my last job I did a combination of inherit and perm overriding for a large public file store (win98 sucks -- couldn't they have put a proper permissions browser on it?). Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Mon Jan 22 19:40: 6 2001 Delivered-To: freebsd-fs@freebsd.org Received: from modgud.nordicrecords.com (h21-168-107.nordicdms.com [207.21.168.107]) by hub.freebsd.org (Postfix) with SMTP id B615D37B400 for ; Mon, 22 Jan 2001 19:39:49 -0800 (PST) Received: (qmail 13002 invoked by alias); 23 Jan 2001 03:39:48 -0000 Received: (qmail 12989 invoked from network); 23 Jan 2001 03:39:47 -0000 Received: from unknown (HELO thinkpad770z) (207.21.168.217) by mail.nordicrecords.com with SMTP; 23 Jan 2001 03:39:47 -0000 From: "Dave Walton" To: Doug White , freebsd-fs@FreeBSD.ORG Date: Mon, 22 Jan 2001 19:37:08 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: suiddir and samba Reply-To: walton@onlinemusic.com Message-ID: <3A6C8BE4.3978.1756EE6@localhost> References: <3A689FFE.16050.192CED5@localhost> In-reply-to: X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 21 Jan 2001, at 23:10, Doug White wrote: > No, turn off suiddir and turn on inherit perms. They are mutually > exclusive. They are? By my reading of the docs, inherit perms deals with the permission bits, and suiddir deals with ownership. What am I missing? > Read the smb.conf manpage about > inherit perms and directory mode and it should clear things up. That's what I've done, and it's led me to the confusion above. > And as I've said, if you're using 'inherit perms' you don't need suiddir. But what about file ownership? > At my last job I did a combination of inherit and perm overriding for a > large public file store (win98 sucks -- couldn't they have put a proper > permissions browser on it?). Why bother? It's not even a proper operating system... Dave ---------------------------------------------------------------------- Dave Walton Chief Technology Officer OnlineMusic.com walton@onlinemusic.com http://www.onlinemusic.com ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Tue Jan 23 12:35:47 2001 Delivered-To: freebsd-fs@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 0C07C37B699 for ; Tue, 23 Jan 2001 12:35:19 -0800 (PST) Received: from kampala-54.budapest.interware.hu ([195.70.52.246] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 14LA9i-0007Ty-00; Tue, 23 Jan 2001 21:35:07 +0100 Message-ID: <3A6DA043.4DB97A14@elischer.org> Date: Tue, 23 Jan 2001 07:16:19 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: walton@onlinemusic.com Cc: Doug White , freebsd-fs@FreeBSD.ORG Subject: Re: suiddir and samba References: <3A689FFE.16050.192CED5@localhost> <3A6C8BE4.3978.1756EE6@localhost> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dave Walton wrote: > > On 21 Jan 2001, at 23:10, Doug White wrote: > > > No, turn off suiddir and turn on inherit perms. They are mutually > > exclusive. what are "inherrit_perms"? I can;t see them in LINT.. If theyare a samba thing then ok, but they shouldn't be Mutually exclusive. SUIDDIR was written for using with samba and netatalk, so apple and widows users would see the same ownerships they expect.. > > They are? By my reading of the docs, inherit perms deals with the > permission bits, and suiddir deals with ownership. What am I > missing? > > > Read the smb.conf manpage about > > inherit perms and directory mode and it should clear things up. > > That's what I've done, and it's led me to the confusion above. > > > And as I've said, if you're using 'inherit perms' you don't need suiddir. > > But what about file ownership? > > > At my last job I did a combination of inherit and perm overriding for a > > large public file store (win98 sucks -- couldn't they have put a proper > > permissions browser on it?). > > Why bother? It's not even a proper operating system... > > Dave > > ---------------------------------------------------------------------- > Dave Walton > Chief Technology Officer OnlineMusic.com > walton@onlinemusic.com http://www.onlinemusic.com > ---------------------------------------------------------------------- > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-fs" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ from Perth, presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Wed Jan 24 23:25:44 2001 Delivered-To: freebsd-fs@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 4ECB337B400 for ; Wed, 24 Jan 2001 23:25:27 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id f0P7PMY28587; Wed, 24 Jan 2001 23:25:22 -0800 (PST) Date: Wed, 24 Jan 2001 23:25:22 -0800 (PST) From: Doug White To: Dave Walton Cc: freebsd-fs@FreeBSD.ORG Subject: Re: suiddir and samba In-Reply-To: <3A6C8BE4.3978.1756EE6@localhost> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Mon, 22 Jan 2001, Dave Walton wrote: > On 21 Jan 2001, at 23:10, Doug White wrote: > > > No, turn off suiddir and turn on inherit perms. They are mutually > > exclusive. > > They are? By my reading of the docs, inherit perms deals with the > permission bits, and suiddir deals with ownership. What am I > missing? Hm .. suiddir makes files inherits the perms AND owner/group from the parent dir. This is kinda evil as it essentially is a hardwired file giveaway, which is a BSD no-no. You should just set the dir group-writable and add all the user's to the parent dir's group. I suppose if you *really*really* want the owner to propagate, then use suiddir. Of course, unless you hack Samba the suid bit won't get set on subdirectories. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Wed Jan 24 23:27:10 2001 Delivered-To: freebsd-fs@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 7DA0237B402 for ; Wed, 24 Jan 2001 23:26:51 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id f0P7QkW28599; Wed, 24 Jan 2001 23:26:46 -0800 (PST) Date: Wed, 24 Jan 2001 23:26:46 -0800 (PST) From: Doug White To: Julian Elischer Cc: walton@onlinemusic.com, freebsd-fs@FreeBSD.ORG Subject: Re: suiddir and samba In-Reply-To: <3A6DA043.4DB97A14@elischer.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 23 Jan 2001, Julian Elischer wrote: > Dave Walton wrote: > > > > On 21 Jan 2001, at 23:10, Doug White wrote: > > > > > No, turn off suiddir and turn on inherit perms. They are mutually > > > exclusive. > > what are "inherrit_perms"? I can;t see them in LINT.. See the Samba option "inherit permissions" in smb.conf(5). > If theyare a samba thing then ok, but they shouldn't be Mutually exclusive. > SUIDDIR was written for using with samba and netatalk, so apple and > widows users would see the same ownerships they expect.. Except Samba is smart and doesn't copy the suid bit. So it only works for explicitly flagged directories, which limits it's usefulness. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Jan 25 10: 1: 2 2001 Delivered-To: freebsd-fs@freebsd.org Received: from relay2.mail.uk.psi.net (relay2.mail.uk.psi.net [154.32.107.6]) by hub.freebsd.org (Postfix) with ESMTP id 9A40237B6A6 for ; Thu, 25 Jan 2001 10:00:43 -0800 (PST) Received: from mail.plasmon.co.uk ([193.115.5.217]) by relay2.mail.uk.psi.net with smtp (Exim 2.12 #2) id 14LqhH-0003Yv-00; Thu, 25 Jan 2001 18:00:35 +0000 Received: by mail.plasmon.co.uk(Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) id 802569DF.00624014 ; Thu, 25 Jan 2001 17:53:09 +0000 X-Lotus-FromDomain: PLASNOTES From: dbhague@allstor-sw.co.uk To: Steffen Hansen Cc: freebsd-fs@FreeBSD.ORG Message-ID: <802569DF.00623F7D.00@mail.plasmon.co.uk> Date: Thu, 25 Jan 2001 17:53:06 +0000 Subject: RE: Samba Performance, CPU bound after 3 clients Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Steffen, I am having problems getting more than 3 clients running before the system becomes CPU bound. I have FreeBSD 4.1 and samba 2.0.7 on a Celeron 600MHz with 128MB. This is attached to a SCSI attached IDE RAID system. I am connecting from Windows NT 4 clients. Each smbd consumes about 25~30% CPU and hence after three the system is CPU bound. Any advice would be greatly received. Regards Dave Steffen Hansen on 23/01/2001 14:18:20 To: David Barrett-Hague/ALLSTOR/UK/Plasmon@PlasNotes cc: Subject: RE: Samba Performance Received: from sparky.dba.dk ([129.142.136.112]) by mail.plasmon.co.uk (Lotus SMTP MTA v4.6.7 (934.1 12-30-1999)) with SMTP id 802569DD.004DFE1A; Tue, 23 Jan 2001 14:11:53 +0000 Received: from dbamail by sparky.dba.dk via smtpd (for mail.plasmon.co.uk [193.115.5.217]) with SMTP; 23 Jan 2001 14:18:46 UT Received: by DBAMAIL with Internet Mail Service (5.5.2650.21) id ; Tue, 23 Jan 2001 15:18:20 +0100 Message-ID: <8C481B317D91D31191E400600862AB18A8D8D9@DBAMAIL> From: Steffen Hansen To: "'dbhague@allstor-sw.co.uk'" Subject: RE: Samba Performance Date: Tue, 23 Jan 2001 15:18:20 +0100 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Hi Dave.... Yes - I did try to start one, but there wasn't any support for it - meaning nobody wanted to participate. So unfortunately no I didn't... But a have a few notes (f)lying on my table, so feel free to ask, and I'll see what I can dig up :-) /S -----Original Message----- From: dbhague@allstor-sw.co.uk [mailto:dbhague@allstor-sw.co.uk] Sent: Tuesday, January 23, 2001 2:50 PM To: steffen.hansen@dba.dk Subject: Samba Performance Steffen, Did you compile a list for Samba perfornance tunning, if you did I would love to have a copy. Thanks Dave To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Jan 25 10:54:45 2001 Delivered-To: freebsd-fs@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 9872C37B6A7 for ; Thu, 25 Jan 2001 10:54:27 -0800 (PST) Received: from victoria-221.budapest.interware.hu ([195.70.63.221] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 14LrXN-0006Ie-00; Thu, 25 Jan 2001 19:54:25 +0100 Message-ID: <3A707655.47313E21@elischer.org> Date: Thu, 25 Jan 2001 10:54:13 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: Doug White Cc: Dave Walton , freebsd-fs@FreeBSD.ORG Subject: Re: suiddir and samba References: Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug White wrote: > > On Mon, 22 Jan 2001, Dave Walton wrote: > > > On 21 Jan 2001, at 23:10, Doug White wrote: > > > > > No, turn off suiddir and turn on inherit perms. They are mutually > > > exclusive. > > > > They are? By my reading of the docs, inherit perms deals with the > > permission bits, and suiddir deals with ownership. What am I > > missing? > > Hm .. suiddir makes files inherits the perms AND owner/group from the > parent dir. This is kinda evil as it essentially is a hardwired file > giveaway, which is a BSD no-no. You should just set the dir > group-writable and add all the user's to the parent dir's group. SUIDDIR doe NOT inherot perms, justy "owner" (so that owner acts the same as 'group') > > I suppose if you *really*really* want the owner to propagate, then use > suiddir. Of course, unless you hack Samba the suid bit won't get set on > subdirectories. SUIDIR propogates it.. > > Doug White | FreeBSD: The Power to Serve > dwhite@resnet.uoregon.edu | www.FreeBSD.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-fs" in the body of the message -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ from Perth, presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Jan 25 12:32:50 2001 Delivered-To: freebsd-fs@freebsd.org Received: from smtp05.primenet.com (smtp05.primenet.com [206.165.6.135]) by hub.freebsd.org (Postfix) with ESMTP id 0C6C037B69B for ; Thu, 25 Jan 2001 12:32:33 -0800 (PST) Received: (from daemon@localhost) by smtp05.primenet.com (8.9.3/8.9.3) id NAA07301; Thu, 25 Jan 2001 13:28:01 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp05.primenet.com, id smtpdAAAbaaqoo; Thu Jan 25 13:27:53 2001 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id NAA27330; Thu, 25 Jan 2001 13:32:19 -0700 (MST) From: Terry Lambert Message-Id: <200101252032.NAA27330@usr08.primenet.com> Subject: Re: suiddir and samba To: dwhite@resnet.uoregon.edu (Doug White) Date: Thu, 25 Jan 2001 20:32:18 +0000 (GMT) Cc: walton@onlinemusic.com (Dave Walton), freebsd-fs@FreeBSD.ORG In-Reply-To: from "Doug White" at Jan 24, 2001 11:25:22 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hm .. suiddir makes files inherits the perms AND owner/group from the > parent dir. This is kinda evil as it essentially is a hardwired file > giveaway, which is a BSD no-no. You should just set the dir > group-writable and add all the user's to the parent dir's group. > > I suppose if you *really*really* want the owner to propagate, then use > suiddir. Of course, unless you hack Samba the suid bit won't get set on > subdirectories. The problem this was intended to address is a shared per user filespace, which is exposed via multiple spaces (e.g. SMB, AppleTalk, FTP, WWW, etc.). The problem with _not_ doing this is that SMB can be made to do the least astonishing thing, which is give ownership of files to the user who owns the filespace. UNIX will let you delete files not owned by you, but placed in a directory owned by you. Consider now that you have this filespace owned by "fred", and a file is created there via SMB, with appropriate options: it will also be owned by "fred", the owner of the filespace. Now FTP something up there. It will be owned by the user logged in for the ftp session (whatever the current credential of the ftpd is at the time). Attempts by "fred" to delete this file from his filespace via SMB will fail. A similar problem is created if instead of being put there via FTP, the file is put there via AppleTalk. A similar problem also occurs if this is a UNIX shell user, writing a file into a writeable directory belonging to an SMB user. Now consider that "fred" is a Windows client user, and the person providing the file to "fred" is a UNIX or Macintosh user, and you will see the problem this is trying to (and does) solve. PS: I wasn't involved in the actual implementation, that was Julian, but I agree with him that it makes more sense to change the FS semantics than it does to have to hack every possible program to know about "dropbox"-style file giveaway semantics. PPS: I really can't see another way to allow a shell user, since the transaction is not intermediated by a daemon, to write files into the "fred" filespace, which is really the most simple Windows/UNIX interoperability scenario possible. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Jan 25 14:10:30 2001 Delivered-To: freebsd-fs@freebsd.org Received: from modgud.nordicrecords.com (h21-168-107.nordicdms.com [207.21.168.107]) by hub.freebsd.org (Postfix) with SMTP id 4994337B404 for ; Thu, 25 Jan 2001 14:10:00 -0800 (PST) Received: (qmail 25584 invoked by alias); 25 Jan 2001 22:09:59 -0000 Received: (qmail 25564 invoked from network); 25 Jan 2001 22:09:58 -0000 Received: from unknown (HELO thinkpad770z) (207.21.168.217) by mail.nordicrecords.com with SMTP; 25 Jan 2001 22:09:58 -0000 From: "Dave Walton" To: Julian Elischer , freebsd-fs@FreeBSD.ORG, Doug White Date: Thu, 25 Jan 2001 14:05:54 -0800 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: suiddir and samba Reply-To: walton@onlinemusic.com Message-ID: <3A7032C2.26253.6730CE@localhost> In-reply-to: <3A707655.47313E21@elischer.org> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On 25 Jan 2001, at 10:54, Julian Elischer wrote: > Doug White wrote: > > > > I suppose if you *really*really* want the owner to propagate, then use > > suiddir. Of course, unless you hack Samba the suid bit won't get set on > > subdirectories. > > SUIDIR propogates it.. Ah, that's the thing that started this thread. SUIDDIR is *not* propogating the suid bit on directories created via Samba. Isn't that supposed to happen automagically at the fs level when the dir is created? Dave ---------------------------------------------------------------------- Dave Walton Chief Technology Officer OnlineMusic.com walton@onlinemusic.com http://www.onlinemusic.com ---------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Jan 25 14:20:34 2001 Delivered-To: freebsd-fs@freebsd.org Received: from smtp4.mail.yahoo.com (smtp4.mail.yahoo.com [128.11.69.101]) by hub.freebsd.org (Postfix) with SMTP id 2C6FB37B698 for ; Thu, 25 Jan 2001 14:20:16 -0800 (PST) Received: from nat-220-161.nat.dot.ca.gov (HELO geocities.com) (149.136.220.161) by smtp.mail.vip.suc.yahoo.com with SMTP; 25 Jan 2001 22:20:15 -0000 X-Apparently-From: Message-ID: <3A70ADC5.33AD2C09@geocities.com> Date: Thu, 25 Jan 2001 14:50:45 -0800 From: greg simonoff Reply-To: gsimonoff@geocities.com X-Mailer: Mozilla 4.61 [en] (Win95; I) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-fs@freebsd.org Subject: Mounting SunOS/External Content-Type: multipart/mixed; boundary="------------514EF3918B37330E9CCC75B2" Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is a multi-part message in MIME format. --------------514EF3918B37330E9CCC75B2 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi, I'm trying to mount an external SCSI hard drive to my freebsd system. The hard drive is a SUNOS 4.2 drive and I'm connected to it by a 50 pin SCSI connector. The dmesg shows the following: sym0: <875> rev 0x04 int a irq 10 on pci0.9.0 sym0: Symbios NVRAM, ID 7, Fast-20, parity checking sym0: open drain IRQ line driver, using on-chip SRAM Waiting 2 seconds for SCSI devices to settle sym0: Downloading SCSI SCRIPTS. (noperiph:sym0:0:-1:-1): SCSI bus reset delivered. changida0 at sym0 bus 0 target 1 lun 0 da0: Fixed Direct Access SCSI-2 device da0: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing Enabled da0: 520MB (1065664 512 byte sectors: 64H 32S/T 520C) A "disklabel -r da0" fails to work, but all the above info is right. I know there is an incapatability here with the endian of the file system - Intel (little) vs Sparc(big). But, may I somehow use the NetBSD - ffs - to make this happen - or could I mount it as a msdos drive so that at least I may read it? What should the entry in the fstab be to mount this drive? And what should the major and minor numbers be for the device? - So that I can make the block special file for it ? GREG --------------514EF3918B37330E9CCC75B2 Content-Type: text/x-vcard; charset=us-ascii; name="gsimonoff.vcf" Content-Transfer-Encoding: 7bit Content-Description: Card for greg simonoff Content-Disposition: attachment; filename="gsimonoff.vcf" begin:vcard n:Simonoff;Gregory tel;work:(510) 286-4659 x-mozilla-html:FALSE org:Calif State Dept of Transportation;Software Development version:2.1 email;internet:gsimonoff@geocities.com title:PE / Electrical Engineer (CA license) adr;quoted-printable:;;111 Grand Avenue =0D=0A;Oakland ;CA;94623; note;quoted-printable:Java, HTML, C++, C=0D=0AUNIX, OS9=0D=0A fn:Gregory Simonoff end:vcard --------------514EF3918B37330E9CCC75B2-- _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Thu Jan 25 15: 0: 9 2001 Delivered-To: freebsd-fs@freebsd.org Received: from mail.interware.hu (mail.interware.hu [195.70.32.130]) by hub.freebsd.org (Postfix) with ESMTP id 1155037B404 for ; Thu, 25 Jan 2001 14:59:50 -0800 (PST) Received: from timbuktu-01.budapest.interware.hu ([195.70.51.193] helo=elischer.org) by mail.interware.hu with esmtp (Exim 3.16 #1 (Debian)) id 14LvMP-0007pD-00; Thu, 25 Jan 2001 23:59:21 +0100 Message-ID: <3A70AFBA.DF0032D4@elischer.org> Date: Thu, 25 Jan 2001 14:59:06 -0800 From: Julian Elischer X-Mailer: Mozilla 4.7 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en, hu MIME-Version: 1.0 To: walton@onlinemusic.com Cc: freebsd-fs@FreeBSD.ORG, Doug White , jeremy@netcom.com Subject: Re: suiddir and samba References: <3A7032C2.26253.6730CE@localhost> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Dave Walton wrote: > > On 25 Jan 2001, at 10:54, Julian Elischer wrote: > > > Doug White wrote: > > > > > > I suppose if you *really*really* want the owner to propagate, then use > > > suiddir. Of course, unless you hack Samba the suid bit won't get set on > > > subdirectories. > > > > SUIDIR propogates it.. > > Ah, that's the thing that started this thread. SUIDDIR is *not* > propogating the suid bit on directories created via Samba. Isn't > that supposed to happen automagically at the fs level when the dir > is created? then samba is changing it back.. check it by hand..... > > Dave > > ---------------------------------------------------------------------- > Dave Walton > Chief Technology Officer OnlineMusic.com > walton@onlinemusic.com http://www.onlinemusic.com > ---------------------------------------------------------------------- -- __--_|\ Julian Elischer / \ julian@elischer.org ( OZ ) World tour 2000 ---> X_.---._/ from Perth, presently in: Budapest v To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Fri Jan 26 11:36:40 2001 Delivered-To: freebsd-fs@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id A939737B400 for ; Fri, 26 Jan 2001 11:36:22 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id f0QJaE902674; Fri, 26 Jan 2001 11:36:14 -0800 (PST) Date: Fri, 26 Jan 2001 11:36:14 -0800 (PST) From: Doug White To: Julian Elischer Cc: walton@onlinemusic.com, freebsd-fs@FreeBSD.ORG, jeremy@netcom.com Subject: Re: suiddir and samba In-Reply-To: <3A70AFBA.DF0032D4@elischer.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 25 Jan 2001, Julian Elischer wrote: > then samba is changing it back.. > check it by hand..... And that was my response. Then I suggested he look at 'inherit perms' and '[force] {file|dir} mode' to override it. Around and around we go :) Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message From owner-freebsd-fs Fri Jan 26 11:37:44 2001 Delivered-To: freebsd-fs@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.122.47]) by hub.freebsd.org (Postfix) with ESMTP id 5CD6037B401 for ; Fri, 26 Jan 2001 11:37:27 -0800 (PST) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.10.1/8.10.1) with ESMTP id f0QJbMu02686; Fri, 26 Jan 2001 11:37:22 -0800 (PST) Date: Fri, 26 Jan 2001 11:37:22 -0800 (PST) From: Doug White To: greg simonoff Cc: freebsd-fs@FreeBSD.ORG Subject: Re: Mounting SunOS/External In-Reply-To: <3A70ADC5.33AD2C09@geocities.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Thu, 25 Jan 2001, greg simonoff wrote: > I'm trying to mount an external SCSI hard drive to my freebsd > system. The hard drive is a SUNOS 4.2 drive and I'm > connected to it by a 50 pin SCSI connector. The dmesg shows > the following: [..] FreeBSD does not support Solaris disklabels and volumes. Doug White | FreeBSD: The Power to Serve dwhite@resnet.uoregon.edu | www.FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message