Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 6th, 2001
Apprentice
 
Join Date: November 6th, 2001
Posts: 7
limeuser is flying high
Default issue with non-root users

I notioced this in 1.7c, and because of it I've upgraded to 1.8. I still am bound by this problem; root can download files, but users cannot.
The issue is the save directory. I've got a directory I'd like to keep most all of my media files in, /usr/share/media (drwxrwxr-- root media). So I set this as my save directory, and ensure users are a member of group media. Likewise, I keep LimeWire in /usr/local/LimeWire (drwxrwxr-- root usrlocal), and put users in the group usrlocal. I know, they shouldn't have write access to the LimeWire directory, I'll fix that later if I can get the whole thing working.
Now, a user tries to use LimeWire and download, and it will certainly eventually fail with 'Cannot download'. Switch the save directory to the users home directory (for example), and all goes well.
Boggle! Why can't he download into /usr/share/media, since he has write access?
Reply With Quote
  #2 (permalink)  
Old November 7th, 2001
twist's Avatar
Bum
 
Join Date: September 19th, 2001
Location: No fixed abode
Posts: 45
twist is flying high
Smile Save directory

Don't know. Everything you've described from a user/group setup point of view sounds like it's set up correctly. Maybe just check it by copying files to /usr/share/media from a non-root user. It looks like this'll work properly anyway so probably not much help.

I have a multi user setup for limewire on my system, but each user has it's own limewire configuration and save/incomplete directories.
Reply With Quote
  #3 (permalink)  
Old November 7th, 2001
Apprentice
 
Join Date: November 6th, 2001
Posts: 7
limeuser is flying high
Default

The local user can write files to /usr/share/media. Its not a system problem, methinks.

How do you configure the incomplete downloads directory, OOC?
Reply With Quote
  #4 (permalink)  
Old November 7th, 2001
twist's Avatar
Bum
 
Join Date: September 19th, 2001
Location: No fixed abode
Posts: 45
twist is flying high
Smile Multiuser

The way I've set LimeWire up is by writing an alternative runlime.sh script. The script creates a .limewire directory in the users home, changes to it, and runs limewire. LimeWire then writes it's configuration and the Incomplete directory into ~/.limewire.

You can see the script (for LimeWire 1.7) here:

http://www.cyberspace.org/~kohl/limewirelinuxhowto.html

I've just installed 1.8 and you need to modify the script to make it work. I'll write a 1.8 update in a day or five. ;)
Reply With Quote
  #5 (permalink)  
Old November 8th, 2001
anti-bearshare
Guest
 
Posts: n/a
Default

Thats not an issue when LimeWire its an issue with the permissions on that directory. try "man chmod" to learn how to fix that problem.

FreeBSD is better :P
Reply With Quote
  #6 (permalink)  
Old November 8th, 2001
Apprentice
 
Join Date: November 6th, 2001
Posts: 7
limeuser is flying high
Default

No, I don't think it is a permissions file. I am familiar with chmod, and I've used chmod and chown to set permissions and ownership of these directories. Specifically\, I've:
limeuser@beast# su -
root@beast# echo usrlocal:x:555:limeuser >> /etc/group
root@beast# chown -R root:usrlocal /usr/local/LimeWire
root@beast# chmod -R g+rw /usr/local/LimeWire
root@beast# chmod g+x /usr/local/LimeWire/runlime.sh
root@beast# echo media:x:556:limeuser >> /etc/group
root@beast# chown -R root:media /usr/share/media
root@beast# chmod -R g+rw /usr/share/media

Leaving:
root@beast# ls -lad /usr/local/LimeWire
drwxrwxr-x 3 root usrlocal 4096 Nov 7 00:12 /usr/local/LimeWire
root@beast# ls -lad /usr/share/media
drwxrwxr-x 5 root media 8192 Nov 6 20:16 /usr/share/media

In 1.7 there were Incomplete and Shared directories that I also changed in 1.7c... in 1.8 there's just the $LIMEWIRE/lib directory.

And I've set the save directory to /usr/share/media. And I'm in the proper groups before I execute runlime.sh:root@beast#exit
limeuser@beast#groups
limeuser usrlocal media
Nonetheless, I cannot get any successful download as user limeuser unless I change the save directory to /home/limeuser (which BTW means to me that the Incomplete directory, wherever that's gone, isn't the issue).

lol
Reply With Quote
  #7 (permalink)  
Old November 13th, 2001
Axe Axe is offline
Gnutella Admirer
 
Join Date: May 29th, 2001
Location: Northern Hemisphere
Posts: 70
Axe is flying high
Default

Hi, unfortunately this corresponds exactly with my experience: No downloads as normal user, only as root. I've worked out a sudo solution which works, but this seems to me some kind of 'overkill' (see http://forums.gnutelliums.com/showth...=&threadid=232).

My shared and download directory is a /mnt/data/music, owned by myself (!), but I'm still not able to download - except as root.

Maybe there are some more things that require authorisation?

Cheers
Axe
Reply With Quote
  #8 (permalink)  
Old November 20th, 2001
Axe Axe is offline
Gnutella Admirer
 
Join Date: May 29th, 2001
Location: Northern Hemisphere
Posts: 70
Axe is flying high
Default

Ok now....upgraded to 1.8, installed locally (means under my ~), set the shared drive to somewhere under my home dir.
After start of LW, added the shared directory under /mnt/data/music.....

tried download....

...and....

it worked!

But take care: StarWars Episode II Trailer is not worth the download :-((

Cheers
Ax
Reply With Quote
  #9 (permalink)  
Old December 15th, 2001
Unregistered
Guest
 
Posts: n/a
Default

Yeah Ax, but that doesn't solve the original problem. The problem is no other user can run Limewire.
Reply With Quote
  #10 (permalink)  
Old December 15th, 2001
Qquard
Guest
 
Posts: n/a
Cool GOT IT TO WORK

I figured out a way to setup LimeWire for multi-users and share a common directory.

I installed LimeWire 1.8c Installer version as root in /usr/local/limewire. Then put in a symbolic link in the /usr/local/bin with ln -s ../limewire/LimeWire18-c limewire. Then created the directory where I store all the mp3s. I created this in /usr/share/media/Share. Then, IMPORTANT, make another directory: /usr/share/media/Incomplete. LimeWire tries to create this by itself. Unless you run LW as root it can't. If it isn't there then you'll get "Can't download". Change mode of both directories with chmod 777 *directory name*. Went back to non-root and ran LW fine.
Reply With Quote
Reply


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
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Running gtk-gnutella as root shn Gtk-Gnutella (Linux/Unix/Mac OSX/Windows) 13 May 1st, 2008 08:52 PM
Deleted StubInstaller.exe in root overheat Windows 3 January 1st, 2007 02:12 PM
Root folder? idkwatimdoin Download/Upload Problems 0 May 25th, 2005 09:39 AM
can only use limewire in root the moodagudda General Linux Support 1 April 9th, 2005 01:08 PM
Can only run as root. Unregistered Qtella (Linux/Unix) 1 March 19th, 2002 12:27 AM


All times are GMT -7. The time now is 04:46 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.