LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 05-31-2010, 06:11 AM   #1
gfarrell
LQ Newbie
 
Registered: May 2010
Location: London
Distribution: Mac OSX, Ubuntu, Debian
Posts: 29

Rep: Reputation: 15
Unhappy Deb Squeeze User user "not permitted" to view own files


Hi all,

For the purpose of running a transmission daemon I have a user called torrent. I've chowned the download folder and all its contents to torrent:torrent and set permissions so that user/group can read/write. The transmission daemon is running as the user torrent but I get a "permission denied" error when trying to download. It also won't seed because it can't read the files.
I've tried su-ing as torrent and viewing the folder, I can't do that either but when I use "ls -al" as an administrative user I get "-rwxrwxr-x 1 torrent torrent" or "drwxrwxr-x 4 torrent torrent" (if it's a directory).

This happened after a big upgrade but I can't work out what's going on. I previously had a user called "transmission" doing the same but decided to try deleting that user and starting again to get it to work. As you can see, no such luck.

Any ideas?
 
Old 06-01-2010, 06:30 AM   #2
gfarrell
LQ Newbie
 
Registered: May 2010
Location: London
Distribution: Mac OSX, Ubuntu, Debian
Posts: 29

Original Poster
Rep: Reputation: 15
Okay: I have worked out that the "torrent" user cannot access any external drives that are mounted on the FS. My user can access them, but it can't.
I tried adding it to all the groups that I am in (cdrom, floppy, audio, video, plugdev, dialout, users) but still no luck. For some reason this user just cannot access the drives at all...
Any ideas?
 
Old 06-01-2010, 09:14 AM   #3
gfarrell
LQ Newbie
 
Registered: May 2010
Location: London
Distribution: Mac OSX, Ubuntu, Debian
Posts: 29

Original Poster
Rep: Reputation: 15
Okay well I fixed it. It was to do with the permissions on the mount location of the drive rather than any interior folders. Working now.
 
  


Reply

Tags
permission



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
PostFix + ISPConfig mail return "unknown user" or "no such user here" Jacky444 Linux - Server 1 02-10-2010 04:21 PM
Logged in as "root"/Fedora 8 but get "Operation not permitted" when using "chmod etc gosunlee Linux - Newbie 7 02-10-2008 05:56 AM
NIS client login "cannot find user name for user ID" danielbourne Linux - Networking 2 08-24-2006 04:16 AM
"User" & "System" CPU load difference JJX Linux - General 3 06-06-2004 01:42 AM
Shorten a Qmail user name to "user" instead of "user@domain.com" anorman Linux - Software 0 12-12-2003 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration