LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-21-2009, 05:51 AM   #1
verus001
LQ Newbie
 
Registered: Sep 2009
Posts: 2

Rep: Reputation: 0
symbolic link to samba share ?


Hello,

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 ?

thanks,
Ph.
 
Old 09-21-2009, 05:55 AM   #2
quanta
Member
 
Registered: Aug 2007
Location: Vietnam
Distribution: RedHat based, Debian based, Slackware, Gentoo
Posts: 724

Rep: Reputation: 101Reputation: 101
sudo?
 
Old 09-21-2009, 06:19 AM   #3
verus001
LQ Newbie
 
Registered: Sep 2009
Posts: 2

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

Rep: Reputation: Disabled
---

Last edited by scottq; 09-01-2011 at 05:20 PM. Reason: Opps, wrong thread - not relavant
 
Old 09-01-2011, 05:49 PM   #5
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Debian
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.
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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