LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-15-2010, 02:47 AM   #1
KTheorem
LQ Newbie
 
Registered: Nov 2005
Location: Vista, CA, USA
Distribution: Fedora 12
Posts: 24

Rep: Reputation: 16
Inability to accessing shared directory through an unreadable one. Any way to do it?


I want to share my /home/myname/Public/ directory with other users on my system. The problem I am having is that it seems impossible to do so. I can't use a hard link because it's a directory and I can't use a soft link because the target directory can't be found by anyone unable to read my home directory.

So far, the only solutions I can see are:
1) To move everything from my Public directory to one lower on the directory tree (something like /home/Public) and then symlink to that as /home/myname/Public and allow everyone else to do the same.
2) To use something like samba to share the folder, even if only locally.

1 is doable because /home and /home/myname are on the same volume but there are times on my system when that is not true (I have users with their home directories on thumbdrives and external HDDs for instance and keeping their public files on a separate volume really isn't an option).
2 is also possible to do but it's been a while since I have used something like samba and I would really rather not have to mess around with it if at all possible.

Am I mising anything, or are those really my only 2 feasable options?
 
Old 04-15-2010, 03:10 AM   #2
bakdong
Member
 
Registered: Apr 2009
Posts: 214

Rep: Reputation: 44
Never had to do this. I would always put shared data somewhere outside the home directories. Could you do a local NFS mount to achieve the desired result?
 
Old 04-15-2010, 03:34 AM   #3
KTheorem
LQ Newbie
 
Registered: Nov 2005
Location: Vista, CA, USA
Distribution: Fedora 12
Posts: 24

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by bakdong View Post
Never had to do this. I would always put shared data somewhere outside the home directories. Could you do a local NFS mount to achieve the desired result?
I think I would consider that under the "something like samba" heading. Though it is a better solution since it would preerve permissions.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
accessing shared folders tannu_ah Linux - Newbie 1 05-02-2009 04:19 PM
Ability and inability to read and write on shared partition... rendezvous123 Linux - General 5 05-05-2007 12:37 AM
Accessing shared directory in linux? Infernal211283 Linux - Newbie 2 12-11-2005 08:00 AM
Question about accessing shared directories zikfreak Linux - Newbie 0 08-18-2001 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:04 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration