LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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

Reply
 
Search this Thread
Old 04-02-2009, 07:39 PM   #1
goncalopp
Member
 
Registered: Jun 2008
Posts: 47

Rep: Reputation: Disabled
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.
 
Old 04-06-2009, 11:38 PM   #2
grunt547
Member
 
Registered: Nov 2006
Distribution: Slackware 12.2, Ubuntu 8.10
Posts: 30

Rep: Reputation: 15
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?
 
Old 04-10-2009, 09:23 AM   #3
goncalopp
Member
 
Registered: Jun 2008
Posts: 47

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply

Tags
permissions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NFS and permission trouble Phaethar Linux - Networking 5 09-02-2005 09:20 AM
TROUBLE: MISTAKENLY CHANGED PERMISSION OF OS . how to recover mallinath Linux - Newbie 4 06-29-2005 03:21 PM
Mounting and permission trouble. spitfire999 Linux - Newbie 5 03-28-2005 04:53 PM
NFS Permission Trouble tscman Linux - Networking 0 11-24-2004 07:40 AM
Permission trouble with second hard drive goofyheadedpunk Linux - General 3 03-18-2004 05:38 PM


All times are GMT -5. The time now is 01:29 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration