LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 12-17-2008, 09:42 PM   #1
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Rep: Reputation: 15
linux following through a windows shortcut?


Hi all

Is it possible for linux to follow through a windows shortcut to another folder which is in another totally different tree/drive?

I have a windows system(my pc), with mapped network drive, f:\, from another windows system. I shared a folder in my C:\ drive out. Inside the shared folder, is a shortcut to my f:\.
Using another window machine, I can access the shared folder and follow through the shortcut link to my f:\.
Then I have a SUSE 10, I samba-ed to my shared folder but I am unable to go through the shortcut in the shared folder to f:\.

Is it possible to go through a windows shortcut link in this scenario?
 
Old 12-17-2008, 10:32 PM   #2
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
I suspect if you make a Junction (proprietary-speak for symlink, only works with NTFS I believe) pointing to your F: drive, instead of using a Windows shortcut, you'll be able to access the F: drive through the shared folder on the C: drive. I could be wrong though, symlinks on my mounted NFS shares wind up trying to point to folders on the local system they're mounted on, there could very well be similar behaviour with Junction and Samba.

imho that's a security weakness of Windows if it lets you access unshared folders because there's a shortcut to them in a folder that actually is shared. The F: drive should be inaccessible remotely unless it is shared itself - which is what I think you should ultimately do, just share the F: drive or a folder on it.
 
Old 12-17-2008, 11:20 PM   #3
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Quote:
symlinks on my mounted NFS shares wind up trying to point to folders on the local system they're mounted on
That should not happen if you use relative symlinks.
But yes, NFS also requires specific options to make submounts accessible (e.g. "crossmount"); this could apply to samba, too.

Last edited by jay73; 12-17-2008 at 11:22 PM.
 
Old 12-17-2008, 11:46 PM   #4
lurko
Member
 
Registered: Jun 2006
Location: Ontario, Canada
Distribution: Debian
Posts: 448

Rep: Reputation: 35
Thanks for the tip jay73. I will have to remember that distinction.

khaos83:
I've just realized the the F: drive in your post is already a network share? Why don't you just access it directly in the same way you're accessing the share on C: ?
 
Old 12-17-2008, 11:55 PM   #5
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by lurko View Post
Thanks for the tip jay73. I will have to remember that distinction.

khaos83:
I've just realized the the F: drive in your post is already a network share? Why don't you just access it directly in the same way you're accessing the share on C: ?
Long story..... hahah


i found an interesting program here.
http://www.pearlmagik.com/winbolic/
But it does not work on network drives.
I am going to try out Junction now.
 
Old 12-18-2008, 02:59 AM   #6
khaos83
Member
 
Registered: Dec 2007
Posts: 97

Original Poster
Rep: Reputation: 15
arg ... All of them can't touch network drive.
 
  


Reply



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
Gnome - remove windows key shortcut lonecrow Linux - Software 5 04-17-2007 06:10 PM
reboot into windows button / shortcut pistonbrew Linux - Software 1 04-26-2005 10:50 PM
Minimize All Windows Shortcut KDE 3.4 JaySuSE SUSE / openSUSE 4 04-11-2005 08:29 PM
Shortcut for Windows vwal_13 Slackware 4 05-14-2004 01:18 PM
Boot in windows shortcut graffitici Linux - Software 1 01-08-2004 03:00 PM

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

All times are GMT -5. The time now is 05:23 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
Open Source Consulting | Domain Registration