LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This 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
 
Thread Tools
Old 01-25-2004, 07:06 PM   #1
mavr1kwest
LQ Newbie
 
Registered: Jul 2003
Posts: 8
Thanked: 0
Accessing another home directory from mine


[Log in to get rid of this advertisement]
Good day everyone - i think this is a rather simple question, so maybe I can get an answer relatively quick.

On my machine, my user account is "npike" - and I have a storage account called "files" - where I keep backup information and what not.

Is there anyway I can make this directly accessable to my home account?

such that, a symbolic link would allow me to read/write to the home dir files?

Thank you!
mavr1kwest is offline     Reply With Quote
Old 01-25-2004, 07:10 PM   #2
jtshaw
Moderator
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu 9.10 AMD64, RHEL3/5
Posts: 3,890
Blog Entries: 1
Thanked: 3
What I would do is create a group called files. Set the group of everything /home/files to this new group called files. Then add both your user files and your user npike to the group. Make the files read/writeable by members of the group and set the suid bit on them all. Make sure you disable all permissions to people not in the group. Then you could do a symbolic like into your home directory and you should be able to do anything you want to the files.
jtshaw is offline     Reply With Quote
Old 01-25-2004, 07:17 PM   #3
linuxlah
Member
 
Registered: Jun 2002
Location: Batu Puteh, Malaysia
Distribution: (Mandrake 8.2) (Redhat 7.2,8.0,9.0) (Slackware 9.0,9.1)
Posts: 154
Thanked: 0
First you have to change the file's home permisson so that npike to access it. I would do a "chmod -R 777 /home/file". Becareful though, this means anybody can do anything at /home/file. For convinience make a symbolic link in npike home to point to /home/file for easy access. I would do a " ln -s /home/file file". There is of course other way of doing this like change the /home/file to npike groups... but I leave that to you to find out.
linuxlah is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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
Apache Root/Home Directory and setting up FTP for home directories? Mankind75 Linux - Newbie 6 07-23-2006 03:37 PM
accessing home directory on win200X machine from linux client bschneider Linux - Networking 4 10-22-2004 08:56 AM
Problems accessing the home directory opensource Mandriva 1 01-03-2004 05:37 PM
accessing my home computer from remote location blacbastard Linux - Newbie 3 03-30-2003 10:52 PM
Problem accessing home share with Samba bubber Linux - Software 5 03-09-2003 11:46 AM


All times are GMT -5. The time now is 04:27 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration