LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Is there any way to follow links with Samba? (https://www.linuxquestions.org/questions/linux-server-73/is-there-any-way-to-follow-links-with-samba-817065/)

Felipe 06-29-2010 05:42 PM

Is there any way to follow links with Samba?
 
Can you tell me if there is any way to follow links in samba.

Ex: /dir1/subdir1/link --> /dir2/subdir2
/dir2/subdir2/file1
file2

User can access files in both directories if he connects to the system (with ssh, login, ...).
So if he does "cd /dir/subdir1/link ; ls" he will see both files.

Now, dir1 is shared with samba (but not dir2). What I want is that users connect from Windows with \\machine\dir1\dir2 and see both files.

Is that possible?

I've tried with follos links and wide links, but it hasn't work as I wanted.

Thanks

acid_kewpie 06-30-2010 01:35 AM

not a networking question. moved to Linux - Server.

Zilvermeeuw 06-30-2010 03:51 AM

I use the same in samba, and it works when I connect with windows. I use CentOS.

BUT on my other computer (Fedora 11), it did work until a few months ago, after an update. Now I get the 'access denied' in windows.

Blue_Ice 06-30-2010 03:57 AM

Normally this should work if the filesystem permissions are set up correctly.

Felipe 06-30-2010 06:12 AM

Solved: Is there any way to follow links with Samba?
 
Sorry, I works fine.


I tried and tried and didn't work. But I've tried it again and ... it works.

Thanks


All times are GMT -5. The time now is 09:05 AM.