LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 08-21-2009, 12:55 PM   #1
Leo Simon
LQ Newbie
 
Registered: Aug 2004
Posts: 21

Rep: Reputation: 0
Can't source a linked directory from another user


I'm running Ubuntu hardy on two machines. On one of them, I can't source a file from another user's directory, even though the file is set up as 777. On my other machine, I can source the file with the standard 644 permissions. The two installations should be identical, but I must have screwed up something on the first one. Any suggestions would be appreciated!
 
Old 08-22-2009, 04:54 PM   #2
hasienda
Member
 
Registered: May 2009
Location: Saxony, Germany
Distribution: Debian/GNU Linux
Posts: 36

Rep: Reputation: 18
Exclamation

I don't know, why you'd like to use someones files from within his/her home directory. I always resort to making all homes 700 - really private.

I consider it good style to create a dedicated common place for files to share like /pub owned by a common users group with suitable permissions, set-group-id and even sticky-bit set.

If you absolutely need/insist to carry on with your home directory permissions: You've made sure, that the 777 is not the fault itself, haven't you? Not only that you might not need execute-permission *), it may even make some checks for strict/suitable file permissions fail ...

Just my 2 cents. :-)

*) ... and you shouldn't make more files executable that the absolute minimum (typically governed by your Ubuntu's default installation, if there is not a current, urging need to do so. Use dpkg-statoverwrite to make permanent, reproduce-able changes to local dir/file permission settings, assuming you have this call on your systems (works on Debian, the base of Ubuntu).

If this doesn't help too much, I' ll require to know more about what file you're trying to source for what purpose to get a better clue. For now I wish you good luck.
 
Old 08-22-2009, 05:17 PM   #3
Leo Simon
LQ Newbie
 
Registered: Aug 2004
Posts: 21

Original Poster
Rep: Reputation: 0
Thanks! It's my home machine so I'm not worried about users using other users' stuff. It turns out that indeed all home directories *were* 700, which was where all my problems came from. Don't know how that happened, but I reset them to 644 and I'm happy!
 
Old 08-22-2009, 05:32 PM   #4
hasienda
Member
 
Registered: May 2009
Location: Saxony, Germany
Distribution: Debian/GNU Linux
Posts: 36

Rep: Reputation: 18
Wink

Quote:
Originally Posted by Leo Simon View Post
Thanks!
Great! Glad I could help. :-)
BTW, consider tagging a resolved issue as "solved" and to use the "Thanks"-function to honor LQs members for good advise given. It simply feels sooo good, that I makes me looking into more zero-reply threads ...

Last edited by hasienda; 08-22-2009 at 05:34 PM. Reason: added hint about tagging resolved threads
 
Old 08-25-2009, 12:48 AM   #5
Leo Simon
LQ Newbie
 
Registered: Aug 2004
Posts: 21

Original Poster
Rep: Reputation: 0
Done!
 
  


Reply

Tags
home


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
Java phone directory using linked lists snowman81 Programming 1 11-27-2007 07:35 PM
vsftpd and chroot_local_user / issue with linked directory blizunt7 Linux - Security 3 08-20-2007 11:18 AM
konquerror error: you have linked konq to inode/directory ... Tarzan-81 Linux - Software 5 01-13-2006 05:04 AM
Winxp linked to Linux Linked to home network OverboardKiller Linux - Networking 2 06-09-2003 09:59 AM
How to unlink a directory that is not linked? J_Szucs Linux - Newbie 5 01-09-2003 10:58 PM


All times are GMT -5. The time now is 08:00 AM.

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