|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
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.) |
| LinkBack | Thread Tools | Display Modes |
| |||
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? |
| ||||
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. ;) |
| |||
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 |
| |||
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 |
| |||
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 |
| |||
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. |
| |
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 |