LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices



Reply
 
Search this Thread
Old 11-13-2011, 09:39 PM   #1
duffme
LQ Newbie
 
Registered: Oct 2005
Location: DC, USA
Distribution: SuSE 10.0, Debian
Posts: 6

Rep: Reputation: 0
Question Share access to single folder in user home dir?


I've searched for solutions and they seem to indicate I am doing this correctly. I'm using Fedora 13.

I use Dropbox. The target/sync directory is a directory in my home dir. This works fine.

I also have set up transmission-daemon. This uses a non-standard user, whose $HOME is /var/lib/transmission. This works fine too.

I am trying to have transmission watch a subdir of the dropbox dir in my home, but keep having permission issues.

Let's call my user Me, the transmission user transmission, and the dropbox/watch folder watch.

I created a group torrents, and added Me and transmission.
I chgrp watch to torrents, and chmod watch to 775.
I then ln -s /home/Me/dropbox/watch /var/lib/transmission.

If I look at the UGO for target and link they look correct:
775 Me torrents /home/Me/dropbox/watch
775 transmission transmission /var/lib/transmission/watch

When I try to ls or cd to /var/lib/transmission/watch as user transmission I get permission access denied.

Am I doing something wrong? Is there a special treatment of /home that blocks this? If for no other reason than understanding the basics I'm trying to use this method rather than setfacl.
 
Old 11-14-2011, 12:29 AM   #2
duffme
LQ Newbie
 
Registered: Oct 2005
Location: DC, USA
Distribution: SuSE 10.0, Debian
Posts: 6

Original Poster
Rep: Reputation: 0
Hmm. After doing this successfully with Ubuntu I went back and looked further. Fedora sets permissions 700 on /home/<user>. The above works if the 2nd user (transmission) can change dir into the home root to get to the subdir.
 
  


Reply


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
Restrict a user to only have access to ONE single folder. colltek Linux - Newbie 4 01-30-2009 11:41 AM
Copying to a folder in a users $HOME dir. jaredhanks Linux - Newbie 4 05-03-2008 01:17 AM
user home dir doesn't create when new user add dev_mohamed Linux - Software 3 01-12-2007 02:08 AM
Folder Max Size and Limiting SSH access to home folder. Mefistofeles Linux - General 4 11-26-2005 03:09 PM
can two distros share a /home dir ? ruwach Linux - Distributions 3 03-06-2004 09:37 PM


All times are GMT -5. The time now is 09:00 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration