Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-02-2009, 07:39 PM
|
#1
|
Member
Registered: Jun 2008
Posts: 47
Rep: 
|
transmission permission trouble
Hello everyone!
I have the transmission bittorrent client daemon set up at my ubuntu server, and I'm having some problems with my permissions. Namely, transmission can't seem accept new torrents, it pauses download and says 'permission denied'.
The download directory is on my sdb, mounted as sudo, with group plugdev.
Several people have ssh access to this server, so I did a chmod 770 to the mount point, since I don't want people accessing that disk (I belong to the plugdev group).
Now, when I do a ps aux, the following is returned:
1000 4638 2.0 0.7 69744 15336 ? Sl Mar28 148:06 /usr/bin/transmission-daemon -f
I was under the impression 1000 is the current user. Is this not so?
If it is, how come the daemon is being denied access to the directory?
*edit*
it's a ntfs filesystem, in case that helps
Last edited by goncalopp; 04-02-2009 at 08:22 PM.
|
|
|
04-06-2009, 11:38 PM
|
#2
|
Member
Registered: Nov 2006
Distribution: FreeBSD, OpenBSD
Posts: 30
Rep: 
|
Well some distros will mount ntfs partitions read-only, by default. Check the output of "mount" to see if your partition is writable. Also, you're going to have problems settings linux-style permissions on an NTFS partition. You'll have to change the uid, gid, and umask options in /etc/fstab in order for linux to treat the whole filesystem as belonging to that user ("man mount", and look for "Mount options for ntfs"). Changing the permissions on the mount point itself won't really help with that.
As for the output of "ps", 1000 is the UID of the user running transmission, probably your account. It's not necessarily the current user. Normally, though, "ps" will give you the username, instead of user ID. Have you made changes to /etc/passwd or reconfigured users recently?
|
|
|
04-10-2009, 09:23 AM
|
#3
|
Member
Registered: Jun 2008
Posts: 47
Original Poster
Rep: 
|
Thanks for your help!
I've managed to mount the partition as the current user, but strangely that didn't seem to help at all.
I was messing with it the other day and noticed that the torrents path had somehow reverted to "/" - so, of course it didn't have permissions to write there! It seems to do that every time I restart the daemon; I guess it doesn't save the config file properly.
As to the uid 1000, the 3 ubuntu systems i have list all my account's processes as that, and none show the user name. I'm not really concerned about that, though, all seems to be working fine.
Again, thanks.
Last edited by goncalopp; 04-10-2009 at 09:25 AM.
|
|
|
All times are GMT -5. The time now is 02:29 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|