From owner-freebsd-bluetooth@FreeBSD.ORG Thu Apr 9 23:29:11 2009 Return-Path: Delivered-To: bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 23FD2106566B for ; Thu, 9 Apr 2009 23:29:11 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id D11658FC17 for ; Thu, 9 Apr 2009 23:29:10 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by gxk24 with SMTP id 24so2469730gxk.19 for ; Thu, 09 Apr 2009 16:29:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=/Vvk7axo8tE6R+JLtYdtblv6IN//uhEY1Bojk/NK/nQ=; b=LIEEwhE96Nwi6DWkOChVzMTGbo3m7jNNtl4YbhSMVA/NV9LF66JSUcImp+CKtpAIxO UcBIyRzyzLT099APR+17rlGNfQ3iQzsmHZE5BQLDYdjWwh1INMlNtwqOifruXh7x9W6d B/IXY9IYWk39kkMiAC/yezaGD94ftw+1RYSgw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=YPuJyhAy9ki9RmLBPJysuIob8K68Yoxyvg2MW9STqq60o4/msWIEKr0hEFWm8K/slv WhuNbtZl/2RsmABsXz3MNK+JP2BAz24SxLmRMYDCubBewyXgp/MkryhMVArpDcyLgRxu 23AiXmSk/ntdK9E/RQbXbnasXnEE38KgEKi5g= MIME-Version: 1.0 Received: by 10.90.98.12 with SMTP id v12mr3640428agb.17.1239317842121; Thu, 09 Apr 2009 15:57:22 -0700 (PDT) In-Reply-To: <49DE5ECD.8020202@aldan.algebra.com> References: <49DE5ECD.8020202@aldan.algebra.com> Date: Thu, 9 Apr 2009 14:57:22 -0800 Message-ID: From: Maksim Yevmenkin To: "Mikhail T." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: bluetooth@freebsd.org Subject: Re: per-user directories for obexapp-server X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Apr 2009 23:29:11 -0000 On Thu, Apr 9, 2009 at 12:47 PM, Mikhail T. wrote: > Hello! > > I was able to set up the Bluetooth-server on my main machine, but all of > the pushed files (Object Pushed) end up in the same root-only > directory... Is there, perhaps, a way to specify a different directory > for each device-ID (bdaddr)? not at the moment, no. > This way my wife and myself could have our own locations (under > home-directories somewhere) for pictures and phonebook backups... > Please, advise. Thanks! Yours, > > -mi > > P.S. Maybe, the hcsecd.conf's syntax can be extended to (optionally) > provide the username associated with each listed device? technically, nothing prevents you from running 2 or more instances of obexapp on different rfcomm channels. each instance would use different root directory. this way each of you can use service on different rfcomm channel to push data into appropriate root directory. i guess its possible to teach obexapp about mapping between client's bdaddr and root directory. ideally, of course, what we want it to have credentials passed over obex connection so the server knows exactly who is talking to it, but that, of course, will likely never happen :) thanks, max