From owner-freebsd-questions@FreeBSD.ORG Sat Jan 17 00:40:28 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76BBD106566B for ; Sat, 17 Jan 2009 00:40:28 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from bsdevel.alaskaparadise.com (bsdevel.alaskaparadise.com [208.86.224.193]) by mx1.freebsd.org (Postfix) with ESMTP id 513538FC12 for ; Sat, 17 Jan 2009 00:40:28 +0000 (UTC) (envelope-from beech@freebsd.org) Received: from stargate.alaskaparadise.com (7-147-42-72.gci.net [72.42.147.7]) by bsdevel.alaskaparadise.com (Postfix) with ESMTP id 56F0528E1086; Sat, 17 Jan 2009 00:40:27 +0000 (UTC) From: Beech Rintoul Organization: FreeBSD To: freebsd-questions@freebsd.org Date: Fri, 16 Jan 2009 15:40:24 -0900 User-Agent: KMail/1.10.4 (FreeBSD/8.0-CURRENT; KDE/4.1.4; i386; ; ) References: <4970F8CE.4090307@comcast.net> <200901161528.44418.beech@freebsd.org> <4971272F.7020101@comcast.net> In-Reply-To: <4971272F.7020101@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200901161540.24965.beech@freebsd.org> Cc: Rem P Roberti , Joakim Fogelberg Subject: Re: skype permissions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jan 2009 00:40:28 -0000 On Friday 16 January 2009 15:32:47 Rem P Roberti wrote: > Beech Rintoul wrote: > > On Friday 16 January 2009 15:15:13 Joakim Fogelberg wrote: > >> On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti > > > > wrote: > >>> Joakim Fogelberg wrote: > >>>> On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul > > > > wrote: > >>>>> What are the premissions of /usr/local/share/skype? Try doing chmod > >>>>> 755 /usr/local/share/skype and start with: > >>>> > >>>> This did the trick for me. I just installed skype and: > >>>> > >>>> will-try# ls -l /usr/local/share/ | grep skype > >>>> drwx------ 6 root wheel 512 Jan 17 00:13 skype > >>>> > >>>> After changing the permissions I am able to start skype from the Gnome > >>>> menu. > >>> > >>> Thanks for the shot, Joakim, but that didn't work either. When calling > >>> Skype > >>> from user's command prompt still get the same result. BTW, I'm using > >>> Xfce as my desktop. > >>> > >>> Rem > >> > >> Just for the record... I'm also able to start Skype from the command > >> prompt. > > > > What happens if you do: /usr/local/share/skype/skype as a normal user? > > Same thing: Permission denied. Wierd, and you're sure that binary is executable by all? > > >> I'm not sure if I really understand makefiles, but it seems to me that > >> /usr/local/share/skype are created with the following directive in > >> /usr/ports/net/skype/Makefile: > >> @cd ${WRKSRC}/&&${COPYTREE_SHARE} "avatars icons sounds lang" > >> ${PREFIX}/${SKYPEDIR}/ > >> > >> Maybe the directory should be created first? I.e. change it to the > >> following: @${INSTALL} -d ${PREFIX}/${SKYPEDIR} > >> @cd ${WRKSRC}/&&${COPYTREE_SHARE} "avatars icons sounds lang" > >> ${PREFIX}/${SKYPEDIR}/ > > > > copytree_share does create the dir first if it doesn't exist. FWIW, I > > loaded xfwm and tried to reproduce this, but it works fine as a normal > > user on my -current box. I doubt if it would be any different on a 7.x > > box. I've seen this problem once or twice before, but both me and Skype > > are at a loss to explain why it's happening. I'll chat with the Skype > > devs later this evening and see if one of them has any suggestions. > > > > Beech > > Thank you! -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.1R/announce.html ---------------------------------------------------------------------------------------