LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2013, 05:13 AM   #1
andperry
LQ Newbie
 
Registered: Mar 2012
Location: Wirral, UK
Distribution: Ubuntu 12.04 Server
Posts: 8

Rep: Reputation: Disabled
Symbolic Links between partitions


I have a system running Ubuntu Server 12.04. There are two data partitions, one on the same disc as the system partition and one on a separate hard drive. They are both of type ext4 and mapped to directories in the system partition via fstab. The root of each data partition is set up as a read/write Samba share. I have tried setting up symbolic links between directories on the two partitions. When trying to access the directories from a Windows computer, the symbolic links work in one direction but not the other (they all work fine from within a Linux command prompt). I can see no logical reason for this at all - the fstab entries are essentially similar and there is no basic difference in file/directory permissions on the two sides or in the Samba configurations. I'm really puzzled - can anyone help please.

Thanks,

Andrew.
 
Old 03-26-2013, 05:42 AM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,254

Rep: Reputation: 314Reputation: 314Reputation: 314Reputation: 314
It depends on samba configuration. You should look at options "follow symlinks", "wide links" and "unix extensions". Enabling symlinks is a security hole, so be carefull or use other method like "bind mount".

Also I do not understand, you wrote
Quote:
fstab entries are essentially similar and there is no basic difference in file/directory permissions on the two sides
What sides? Do you you have two systems or one?

You should change title to something like "Symbolic links not works with Samba" because as you mentioned they works on Linux as well between partitions.

Last edited by eSelix; 03-26-2013 at 05:52 AM.
 
  


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
[SOLVED] symbolic links Micky12345 Linux - General 1 02-29-2012 06:53 PM
symbolic links _Linux_Learner Linux - Newbie 2 02-26-2010 04:39 PM
Symbolic links Vs Hard links sulekha Linux - General 2 10-02-2008 08:03 AM
help with symbolic links sopiaz57 Linux - General 2 06-11-2004 07:17 PM
Symbolic links Valerie Linux - Newbie 12 03-31-2002 02:49 AM


All times are GMT -5. The time now is 12:36 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