DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 20th January 2009
whispersGhost's Avatar
whispersGhost whispersGhost is offline
Real Name: heather
Package Pilot
 
Join Date: May 2008
Location: ny
Posts: 168
Thanked 1 Time in 1 Post
Default skype only runs as root

hi

FreeBSd 7

Can someone please help me run skype as a normal user
it only seems to run from root and i dont want do that

Thank You
__________________
The journey is better then the destination

Last edited by whispersGhost; 29th January 2009 at 12:03 AM. Reason: silly mispelling of skype :)
Reply With Quote
  #2   (View Single Post)  
Old 22nd January 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,088
Thanked 198 Times in 156 Posts
Default

Which version of skype did you install?

What error do you get when you run skype as a normal user?

Which version of FreeBSD are you running?

Make sure you have linprocfs mounted, IIRC skype needs this.

Which version of linux_base do you have installed?

What is sysctl compat.linux.osrelease set to? This matters for some version of skype.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 22nd January 2009
whispersGhost's Avatar
whispersGhost whispersGhost is offline
Real Name: heather
Package Pilot
 
Join Date: May 2008
Location: ny
Posts: 168
Thanked 1 Time in 1 Post
Default hi

hi

All i know is i added skype from ports

skype-2.0.0.72,1



i installed from ports
linux_basefc4 and linux-gtk2


skype
/usr/local/bin/skype: /usr/local/share/skype/skype: Permission denied
$
__________________
The journey is better then the destination
Reply With Quote
  #4   (View Single Post)  
Old 22nd January 2009
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,088
Thanked 198 Times in 156 Posts
Default

Check the permissions of /usr/local/bin/skype and /usr/local/share/skype/skype

% ls -l /usr/local/bin/skype /usr/local/share/skype/skype

Both files should be executable, if they are not already executable:

# chmod a+x /usr/local/bin/skype /usr/local/share/skype/skype
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 22nd January 2009
whispersGhost's Avatar
whispersGhost whispersGhost is offline
Real Name: heather
Package Pilot
 
Join Date: May 2008
Location: ny
Posts: 168
Thanked 1 Time in 1 Post
Default hi

when i did the permission chek it was all set to root
when i changed the permissions as root

silly-wabbit# chmod a+x /usr/local/bin/skype /usr/local/share/skype/skype

(what is a? i thougt ist was supose to be r+x?)

exit

$skype

$ skype
/usr/local/bin/skype: /usr/local/share/skype/skype: Permission denied


silly-wabbit# ls -l /usr/local/bin/skype /usr/local/share/skype/skype
-r-xr-xr-x 1 root wheel 78 Jan 21 15:01 /usr/local/bin/skype
-r-xr-xr-x 1 root wheel 20322884 Jan 21 15:01 /usr/local/share/skype/skype
__________________
The journey is better then the destination

Last edited by whispersGhost; 22nd January 2009 at 09:44 PM.
Reply With Quote
  #6   (View Single Post)  
Old 28th January 2009
BSDKaffee's Avatar
BSDKaffee BSDKaffee is offline
Real Name: Jason Hale
Coffee Addict
 
Join Date: May 2008
Location: Wintersville, Ohio
Posts: 212
Thanked 36 Times in 34 Posts
Default

I had the same issue with Skype. It installs the directory /usr/local/share/skype with the wrong permissions. To fix it just run:
# chmod 755 /usr/local/share/skype
Reply With Quote
  #7   (View Single Post)  
Old 28th January 2009
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Thanked 112 Times in 104 Posts
Default

The 'a' means 'all', so instead of chmod ugo+x, one can say chmod a+x.
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #8   (View Single Post)  
Old 29th January 2009
whispersGhost's Avatar
whispersGhost whispersGhost is offline
Real Name: heather
Package Pilot
 
Join Date: May 2008
Location: ny
Posts: 168
Thanked 1 Time in 1 Post
Default hi

Thank you

i dont know what i was thinking ad how i ever forgot that a = all
r = read w =write x = execute a = all

Anyways thank you and thank the rest of you for helping me.
__________________
The journey is better then the destination
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ZFS root and linproc 7.2-RC1 wnsi FreeBSD Installation and Upgrading 0 20th April 2009 06:54 PM
ssh root Nk2Network OpenBSD Security 22 8th April 2009 06:59 PM
NTOP as root sniper007 FreeBSD Security 0 27th January 2009 07:42 PM
Wheel Can't su root MetalHead OpenBSD General 2 22nd November 2008 12:44 AM
root mail sheriff26 FreeBSD General 5 2nd July 2008 04:56 PM


All times are GMT. The time now is 03:41 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick