Re: Skype permissions (linux_kdump output)

2009-01-18 Thread Rem Roberti



Rem P Roberti remeg...@comcast.net writes:

  

Here is the output of linux_kdump:

http://home.comcast.net/~remegius/skypeuser.txt

This was from a ktrace as user.  When I did that ktrace it
it gave me the usual Permission denied message.



Are you sure that the ktrace command was ktrace -i skype?


WBR
  


That was definitely the command.  Unfortunately, I don't have access
to that machine now, so I can't provide further input.  When I'm able
to get back there I'll let you know.

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-17 Thread Boris Samorodov
Rem P Roberti remeg...@comcast.net writes:

 I have just installed Skype and the only way that I can launch the
 program is
 as root.  I know that that is a permissions thing, but I can't figure
 out how to
 bring up the program as user, or if that is even possible.

Can you do ktrace -i skype as root and an ordinary user, then do
kdump -m 128  output.txt for both of them, locate those *.txt files
somewhere at ftp/web and post a link here?


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


re: Skype permissions (kdump output)

2009-01-17 Thread Rem P Roberti

The output of kdump -m 128 can be found here:

http://home.comcast.net/~remegius/skypetrace.txt


Thank you for your help.

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Skype permissions (kdump output)

2009-01-17 Thread Boris Samorodov
Rem P Roberti remeg...@comcast.net writes:

 The output of kdump -m 128 can be found here:

 http://home.comcast.net/~remegius/skypetrace.txt

Well, kdump should really be linux_kdump (from devel/linux_kdump,
better to install as a package). If you can't install the port,
then send me two (for root and ordinary user) output files for ktrace at
private email.


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Skype permissions (kdump output)

2009-01-17 Thread Chagin Dmitry
On Sat, Jan 17, 2009 at 01:31:16PM -0800, Rem P Roberti wrote:
 The output of kdump -m 128 can be found here:
 
 http://home.comcast.net/~remegius/skypetrace.txt
 
 

please, use linux_kdump instead.

-- 
Have fun!
chd
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Skype permissions (kdump output)

2009-01-17 Thread Rem P Roberti

Chagin Dmitry wrote:

On Sat, Jan 17, 2009 at 01:31:16PM -0800, Rem P Roberti wrote:
  

The output of kdump -m 128 can be found here:

http://home.comcast.net/~remegius/skypetrace.txt





please, use linux_kdump instead.

  

Well, Boris just emailed me about that, but I'm having a bit of a problem.
When I try to install linux_kdump from the ports I get: ===  
linux_kdump-1.5_2
does not build with the default linux base, use the package instead. *** 
Error code 1
But if I try to install it as a package pkg_add tells me the package 
doesn't exist.


Rem

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Skype permissions (kdump output)

2009-01-17 Thread Boris Samorodov
Rem P Roberti remeg...@comcast.net writes:
 Chagin Dmitry wrote:
 On Sat, Jan 17, 2009 at 01:31:16PM -0800, Rem P Roberti wrote:
   
 The output of kdump -m 128 can be found here:

 http://home.comcast.net/~remegius/skypetrace.txt

 please, use linux_kdump instead.

 Well, Boris just emailed me about that, but I'm having a bit of a problem.
 When I try to install linux_kdump from the ports I get: ===
 linux_kdump-1.5_2
 does not build with the default linux base, use the package
 instead. *** Error code 1
 But if I try to install it as a package pkg_add tells me the package
 doesn't exist.

You may try that one:
ftp://ftp.ipt.ru/pub/linux/linux_kdump-1.5_2.tbz


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


re: Skype permissions (linux_kdump output)

2009-01-17 Thread Rem P Roberti

Here is the output of linux_kdump:

http://home.comcast.net/~remegius/skypeuser.txt

This was from a ktrace as user.  When I did that ktrace it
it gave me the usual Permission denied message.

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Skype permissions (linux_kdump output)

2009-01-17 Thread Boris Samorodov
Rem P Roberti remeg...@comcast.net writes:

 Here is the output of linux_kdump:

 http://home.comcast.net/~remegius/skypeuser.txt

 This was from a ktrace as user.  When I did that ktrace it
 it gave me the usual Permission denied message.

Are you sure that the ktrace command was ktrace -i skype?


WBR
-- 
bsam
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Beech Rintoul
On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
 I have just installed Skype and the only way that I can launch the
 program is
 as root.  I know that that is a permissions thing, but I can't figure
 out how to
 bring up the program as user, or if that is even possible.

 Rem

This problem only happens on certain setups and we have been unable to find 
out why it's happening. Skype should (and does) work as a normal user and 
shouldn't require any permission changes.

Please post the output of any errors you're seeing and the output of uname -a. 
Also, how are you starting skype? What linux_base are you running?

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - be...@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
---




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti



On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  

I have just installed Skype and the only way that I can launch the
program is
as root.  I know that that is a permissions thing, but I can't figure
out how to
bring up the program as user, or if that is even possible.

Rem



This problem only happens on certain setups and we have been unable to find 
out why it's happening. Skype should (and does) work as a normal user and 
shouldn't require any permission changes.


Please post the output of any errors you're seeing and the output of uname -a. 
Also, how are you starting skype? What linux_base are you running?


Beech

  


The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD 
7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009 
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


The only way that I can start Skype is via the command line as root.  If 
I try to launch
the program as user this results: /usr/local/bin/skype: 
/usr/local/share/skype/skype: Permission denied


I am currently running linux_base-fc6-6_5 which I installed as per 
UPDATING 20080318.


Rem






___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Beech Rintoul
On Friday 16 January 2009 13:02:30 Rem P Roberti wrote:
  On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  I have just installed Skype and the only way that I can launch the
  program is
  as root.  I know that that is a permissions thing, but I can't figure
  out how to
  bring up the program as user, or if that is even possible.
 
  Rem
 
  This problem only happens on certain setups and we have been unable to
  find out why it's happening. Skype should (and does) work as a normal
  user and shouldn't require any permission changes.
 
  Please post the output of any errors you're seeing and the output of
  uname -a. Also, how are you starting skype? What linux_base are you
  running?
 
  Beech

 The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD
 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 The only way that I can start Skype is via the command line as root.  If
 I try to launch
 the program as user this results: /usr/local/bin/skype:
 /usr/local/share/skype/skype: Permission denied

 I am currently running linux_base-fc6-6_5 which I installed as per
 UPDATING 20080318.

 Rem

What are the premissions of /usr/local/share/skype? Try doing chmod 755 
/usr/local/share/skype and start with:

skype --resources=/usr/local/share/skype

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - be...@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
---




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Beech Rintoul
On Friday 16 January 2009 13:02:30 Rem P Roberti wrote:
  On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  I have just installed Skype and the only way that I can launch the
  program is
  as root.  I know that that is a permissions thing, but I can't figure
  out how to
  bring up the program as user, or if that is even possible.
 
  Rem
 
  This problem only happens on certain setups and we have been unable to
  find out why it's happening. Skype should (and does) work as a normal
  user and shouldn't require any permission changes.
 
  Please post the output of any errors you're seeing and the output of
  uname -a. Also, how are you starting skype? What linux_base are you
  running?
 
  Beech

 The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD
 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

 The only way that I can start Skype is via the command line as root.  If
 I try to launch
 the program as user this results: /usr/local/bin/skype:
 /usr/local/share/skype/skype: Permission denied

 I am currently running linux_base-fc6-6_5 which I installed as per
 UPDATING 20080318.

Also try chmod a+rx /usr/local/share/skype/skype

Beech

-- 
---
Beech Rintoul - FreeBSD Developer - be...@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
---




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Jerry McAllister
On Fri, Jan 16, 2009 at 02:02:30PM -0800, Rem P Roberti wrote:

 
 On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
   
 I have just installed Skype and the only way that I can launch the
 program is
 as root.  I know that that is a permissions thing, but I can't figure
 out how to
 bring up the program as user, or if that is even possible.
 
 Rem
 
 
 This problem only happens on certain setups and we have been unable to 
 find out why it's happening. Skype should (and does) work as a normal user 
 and shouldn't require any permission changes.
 
 Please post the output of any errors you're seeing and the output of uname 
 -a. Also, how are you starting skype? What linux_base are you running?
 
 Beech
 
   
 
 The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD 
 7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009 
 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
 
 The only way that I can start Skype is via the command line as root.  If 
 I try to launch
 the program as user this results: /usr/local/bin/skype: 
 /usr/local/share/skype/skype: Permission denied
 
 I am currently running linux_base-fc6-6_5 which I installed as per 
 UPDATING 20080318.

I have never used skype, (might try one of these days) but
is it possible you have to set the Set-UID bit?
eg  chmod 4755 /usr/local/bin/skype   ??
That's a little nasty, but...

jerry


 
 Rem
 
 
 
 
 
 
 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti

Beech Rintoul wrote:

On Friday 16 January 2009 13:02:30 Rem P Roberti wrote:
  

On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  

I have just installed Skype and the only way that I can launch the
program is
as root.  I know that that is a permissions thing, but I can't figure
out how to
bring up the program as user, or if that is even possible.

Rem


This problem only happens on certain setups and we have been unable to
find out why it's happening. Skype should (and does) work as a normal
user and shouldn't require any permission changes.

Please post the output of any errors you're seeing and the output of
uname -a. Also, how are you starting skype? What linux_base are you
running?

Beech
  

The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD
7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

The only way that I can start Skype is via the command line as root.  If
I try to launch
the program as user this results: /usr/local/bin/skype:
/usr/local/share/skype/skype: Permission denied

I am currently running linux_base-fc6-6_5 which I installed as per
UPDATING 20080318.

Rem



What are the premissions of /usr/local/share/skype? Try doing chmod 755 
/usr/local/share/skype and start with:


skype --resources=/usr/local/share/skype

Beech

  
Yeah, I tried 755 earlier, and a+rx.  No dice.  Regardless of how I set 
the permissions (so far)
when I try to launch as user I get the same Permission denied 
routine.  Weird.


Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti

Jerry McAllister wrote:

On Fri, Jan 16, 2009 at 02:02:30PM -0800, Rem P Roberti wrote:

  

On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
 
  

I have just installed Skype and the only way that I can launch the
program is
as root.  I know that that is a permissions thing, but I can't figure
out how to
bring up the program as user, or if that is even possible.

Rem
   

This problem only happens on certain setups and we have been unable to 
find out why it's happening. Skype should (and does) work as a normal user 
and shouldn't require any permission changes.


Please post the output of any errors you're seeing and the output of uname 
-a. Also, how are you starting skype? What linux_base are you running?


Beech

 
  
The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD 
7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009 
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386


The only way that I can start Skype is via the command line as root.  If 
I try to launch
the program as user this results: /usr/local/bin/skype: 
/usr/local/share/skype/skype: Permission denied


I am currently running linux_base-fc6-6_5 which I installed as per 
UPDATING 20080318.



I have never used skype, (might try one of these days) but
is it possible you have to set the Set-UID bit?
eg  chmod 4755 /usr/local/bin/skype   ??
That's a little nasty, but...

jerry


  


It was worth a shot, but nothing doing.  What's interesting is that on 
another system
that had PC-BSD installed the program would play alright, but if you 
closed down the
system and rebooted it would ask for root's password in order for Skype 
to play.  Something's

definitely weird here.

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti

Joakim Fogelberg wrote:

On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti

Beech Rintoul wrote:

On Friday 16 January 2009 13:02:30 Rem P Roberti wrote:
  

On Friday 16 January 2009 12:14:54 Rem P Roberti wrote:
  

I have just installed Skype and the only way that I can launch the
program is
as root.  I know that that is a permissions thing, but I can't figure
out how to
bring up the program as user, or if that is even possible.

Rem


This problem only happens on certain setups and we have been unable to
find out why it's happening. Skype should (and does) work as a normal
user and shouldn't require any permission changes.

Please post the output of any errors you're seeing and the output of
uname -a. Also, how are you starting skype? What linux_base are you
running?

Beech
  

The output of uname -a: FreeBSD bsd.remdog.net 7.1-RELEASE FreeBSD
7.1-RELEASE #0: Thu Jan  1 14:37:25 UTC 2009
r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

The only way that I can start Skype is via the command line as root.  If
I try to launch
the program as user this results: /usr/local/bin/skype:
/usr/local/share/skype/skype: Permission denied

I am currently running linux_base-fc6-6_5 which I installed as per
UPDATING 20080318.

Rem



What are the premissions of /usr/local/share/skype? Try doing chmod 755 
/usr/local/share/skype and start with:


skype --resources=/usr/local/share/skype

Beech

  


Oops.  I forgot to post this (gulp)...when I do the above this results:

ELF interpreter /lib/ld-linux.so.2 not found
Abort trap

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net wrote:
 Joakim Fogelberg wrote:

 On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org 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.

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}/


-- 

Joakim Fogelberg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti

Joakim Fogelberg wrote:

On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net wrote:
  

Joakim Fogelberg wrote:


On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org 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.

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}/


  

Joakim...

Which version of freebsd are you using?  With all of the chmods that 
I've been doing
things began to get a little bunged up.  Couldn't even bring Skype up as 
root.  So I
deinstalled Skype via pkg-cutleaves and reinstalled.  In the process I 
had to also do a
deinstall/reinstall of linux_base-fc6.  So now I'm back to the original 
setup.  I assume
that you followed the directives of UPDATING 20080318 in order for you 
to get Skype

to work.

Rem

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Beech Rintoul
On Friday 16 January 2009 15:15:13 Joakim Fogelberg wrote:
 On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net 
wrote:
  Joakim Fogelberg wrote:
  On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org 
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?


 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
-- 
---
Beech Rintoul - FreeBSD Developer - be...@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
---




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti

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 remeg...@comcast.net 


wrote:
  

Joakim Fogelberg wrote:
  
On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org 


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.
  

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!



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Beech Rintoul
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 remeg...@comcast.net
 
  wrote:
  Joakim Fogelberg wrote:
  On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org
 
  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 - be...@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
---




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti



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?

  

-r-xr-xr-x  1 root  wheel   78 Jan 16 16:15 skype

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org 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.

-- 

Joakim Fogelberg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Sat, Jan 17, 2009 at 1:25 AM, Rem P Roberti remeg...@comcast.net wrote:
 Joakim Fogelberg wrote:

 On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net
 wrote:


 Joakim Fogelberg wrote:


 On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org
 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.

 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}/




 Joakim...

 Which version of freebsd are you using?  With all of the chmods that I've
 been doing
 things began to get a little bunged up.  Couldn't even bring Skype up as
 root.  So I
 deinstalled Skype via pkg-cutleaves and reinstalled.  In the process I had
 to also do a
 deinstall/reinstall of linux_base-fc6.  So now I'm back to the original
 setup.  I assume
 that you followed the directives of UPDATING 20080318 in order for you to
 get Skype
 to work.

 Rem



7.1-RELEASE-p2

will-try [~]  sysctl compat.linux.osrelease
compat.linux.osrelease: 2.6.16

linux_base-f8-8_10

linproc mounted

OVERRIDE_LINUX_BASE=f8 in /etc/make.conf

I didn't follow the directives in UPDATING, as I just recently
reinstalled all ports. Since I had to recompile many of them due to
gnome-2.24 anyway, I took the opportunity get a fresh installation.
However, looking at the entry in UPDATING I see that I have followed
the directives.

-- 

Joakim Fogelberg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti
OK...get this.  As stated earlier I did a complete reinstall of Skype.  
I shut down the
system for a while, and when I brought it back up and called Skype from 
a user's

command line the licensing window came up, followed by the sign on window .
But when I try to log on it tells me that another instance of Skype 
may be running.
That's as far as it goes.  But, of course, if I call Skype from root's 
command line the

program loads perfectly.

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Sat, Jan 17, 2009 at 1:28 AM, Beech Rintoul be...@freebsd.org wrote:
 On Friday 16 January 2009 15:15:13 Joakim Fogelberg wrote:
 On Sat, Jan 17, 2009 at 12:43 AM, Rem P Roberti remeg...@comcast.net
 wrote:
  Joakim Fogelberg wrote:
  On Fri, Jan 16, 2009 at 11:09 PM, Beech Rintoul be...@freebsd.org
 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?

No problem for me. Skype is started without any problems.


 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.

I have 7.1-RELEASE-p2 installed.
compat.linux.osrelease: 2.6.16
linprocfs mounted
linux_base-f8-8_10

I changed to root (su -) before I installed skype. root's shell is
/bin/csh. umask is 22. I can\t recall that I should have done anything
creative with the root account.

I just removed skype, checked that /usr/local/share/skype were
removed, and reinstalled skype (this time I actually logged in as root
instead of using 'su -'. I also checked that the umask was 22) with:

make WITH_NVIDIA_GL=yes
make WITH_NVIDIA_GL=yes install

and:

will-try# ls -l /usr/local/share/|grep skype
drwx--6 root  wheel   512 Jan 17 04:03 skype

I'm not really sure if I understand the COPY_SHARE routine in bsd.port.mk:

COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 /dev/null \
21)  \
${CHOWN} -R
${SHAREOWN}:${SHAREGRP} $$1  \
${FIND} -d $$0 $$2 -type d
-exec chmod 755 $$1/{} \;  \
${FIND} -d $$0 $$2 -type f
-exec chmod ${SHAREMODE} $$1/{} \;' --

but it seems to me that the 4:th row change the permission on all
directories below /usr/local/share/skype/. However, the permissions
for the directory /usr/local/share/skype are not changed. I also made
a quick test with cpio, to simulate how /usr/local/share/skype are
created:

will-try# ls -lR
total 0
will-try# mkdir subdir
will-try# find subdir | cpio -dumpl rootdir/
0 blocks
will-try# ls -lR
total 4
drwx--  3 root  wheel  512 Jan 17 04:24 rootdir
drwxr-xr-x  2 root  wheel  512 Jan 17 04:24 subdir

./rootdir:
total 2
drwxr-xr-x  2 root  wheel  512 Jan 17 04:24 subdir

./rootdir/subdir:
total 0

./subdir:
total 0

It seems that the directory created by cpio do indeed get the wrong
permissions. Maybe there should be an explicit change of the
permission in COPYTREE_SHARE ? (chmod 755 $$1)


 Beech
 --
 ---
 Beech Rintoul - FreeBSD Developer - be...@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
 ---








-- 

Joakim Fogelberg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Joakim Fogelberg
On Sat, Jan 17, 2009 at 4:35 AM, Joakim Fogelberg
joafog.li...@gmail.com wrote:
 COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 /dev/null 
 \
21)  \
${CHOWN} -R
 ${SHAREOWN}:${SHAREGRP} $$1  \
${FIND} -d $$0 $$2 -type d
 -exec chmod 755 $$1/{} \;  \
${FIND} -d $$0 $$2 -type f
 -exec chmod ${SHAREMODE} $$1/{} \;' --

Sorry for the line wrappings. I'll give it another try...

COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 /dev/null \
  21)  \
  ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} $$1  \
  ${FIND} -d $$0 $$2 -type d -exec chmod 755 $$1/{} \;  \
  ${FIND} -d $$0 $$2 -type f -exec chmod ${SHAREMODE} $$1/{} \;' --

-- 

Joakim Fogelberg
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: skype permissions

2009-01-16 Thread Rem P Roberti



I have 7.1-RELEASE-p2 installed.
compat.linux.osrelease: 2.6.16
linprocfs mounted
linux_base-f8-8_10

I changed to root (su -) before I installed skype. root's shell is
/bin/csh. umask is 22. I can\t recall that I should have done anything
creative with the root account.

I just removed skype, checked that /usr/local/share/skype were
removed, and reinstalled skype (this time I actually logged in as root
instead of using 'su -'. I also checked that the umask was 22) with:

make WITH_NVIDIA_GL=yes
make WITH_NVIDIA_GL=yes install

and:

will-try# ls -l /usr/local/share/|grep skype
drwx--6 root  wheel   512 Jan 17 04:03 skype

I'm not really sure if I understand the COPY_SHARE routine in bsd.port.mk:

COPYTREE_SHARE= ${SH} -c '(${FIND} -d $$0 $$2 | ${CPIO} -dumpl $$1 /dev/null \
21)  \
${CHOWN} -R
${SHAREOWN}:${SHAREGRP} $$1  \
${FIND} -d $$0 $$2 -type d
-exec chmod 755 $$1/{} \;  \
${FIND} -d $$0 $$2 -type f
-exec chmod ${SHAREMODE} $$1/{} \;' --

but it seems to me that the 4:th row change the permission on all
directories below /usr/local/share/skype/. However, the permissions
for the directory /usr/local/share/skype are not changed. I also made
a quick test with cpio, to simulate how /usr/local/share/skype are
created:

will-try# ls -lR
total 0
will-try# mkdir subdir
will-try# find subdir | cpio -dumpl rootdir/
0 blocks
will-try# ls -lR
total 4
drwx--  3 root  wheel  512 Jan 17 04:24 rootdir
drwxr-xr-x  2 root  wheel  512 Jan 17 04:24 subdir

./rootdir:
total 2
drwxr-xr-x  2 root  wheel  512 Jan 17 04:24 subdir

./rootdir/subdir:
total 0

./subdir:
total 0

It seems that the directory created by cpio do indeed get the wrong
permissions. Maybe there should be an explicit change of the
permission in COPYTREE_SHARE ? (chmod 755 $$1)

  

Yes, when I change /usr/local/share/skype from drwx-- to
drwxr-xr-x I am able to get some response as user.  But, as posted
earlier, it only goes so far, ending by telling me that another
instance of skype may be running (which, of course, it isn't).

Rem
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org