Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-21-2009, 06:51 AM   #1
LQ Newbie
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
symbolic link to samba share ?


i would like to make a symbolic link to a samba share of another linux system.
i mounted the network location and then i try to make the link:

ln -s ./1 ./test
ln: creating symbolic link `./test': Permission denied

that is on the network share itself.
When i try to link to it:

ln -s ./events_storage /zm-events/zoneminder_storage/
ln: creating symbolic link `/zm-events/zoneminder_storage/events_storage': Permission denied

Is it not possible to make symbolic links on a network share ?

Old 09-21-2009, 06:55 AM   #2
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 100Reputation: 100
Old 09-21-2009, 07:19 AM   #3
LQ Newbie
Registered: Sep 2009
Posts: 2

Original Poster
Rep: Reputation: 0
nope, i tried it as root.
Old 09-01-2011, 06:19 PM   #4
LQ Newbie
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled

Last edited by scottq; 09-01-2011 at 06:20 PM. Reason: Opps, wrong thread - not relavant
Old 09-01-2011, 06:49 PM   #5
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
Depending on the system (I know this works in Ubuntu) samba and other network shares are mapped in $HOME/.gvfs/directoryname . So creating a symbolic link to that path should work I believe. You could add it to fstab or a script to /etc/rc.local so the share is mounted on system boot so your symbolic link would stay functional regardless of whether or not you've actually mounted the share that day.


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
symbolic link not allowed or link target not accessible paullaubscher Linux - Newbie 4 03-10-2010 07:47 AM
How to create symbolic link to html file and avoid page link problem? haxpor Linux - General 2 01-29-2008 08:40 AM
Symbolic link does not work via SAMBA ibex Linux - Networking 1 09-29-2006 05:05 PM
Samba symbolic share throwing NT_STATUS_BAD_NETWORK_NAME ala_frosty Linux - Software 1 03-31-2006 07:51 PM
creating symbolic link for samba woonaks Linux - General 2 10-22-2003 11:12 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration