Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 11-13-2011, 08:39 PM   #1
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-13-2011, 11:29 PM   #2
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.


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

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

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