![]() |
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? |
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. |
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? |
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. ;) |
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 |
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 |
Yeah Ax, but that doesn't solve the original problem. The problem is no other user can run Limewire. |
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. |
All times are GMT -7. The time now is 02:35 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.