LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-23-2013, 07:37 PM   #1
Automatic
Member
 
Registered: Mar 2013
Posts: 42

Rep: Reputation: Disabled
Write syslinks to SMB share?


Basically, I have two computers, one is a file server with has lots and lots of space running a modified version of slackware, the other is a raspberry pi running raspbian. I want to install:-
Code:
http://www.zoneminder.com/
Although I'm have a real hard time installing it on my data server (Getting loads and loads of commands failing during the configure pre-script), and, I'm too idiotic to be able to fix said issues, so, I'm installing it on my raspberry pi which is just:-
Code:
sudo apt-get install zoneminder
Anyway, so, I set it up and I made a file in ~/CCTV/remoteShare which is a SMB share to my server, hosted by simba. The only computer that will ever see this share is going to be my raspberry pi so I don't care if the syslinks don't work anywhere else. Anyway, I load up zoneminder and I see loads of:-
Code:
Can't symlink /home/pi/CCTV/remoteShare/events/1/13/04/23/.30 -> /home/pi/CCTV/remoteShare/events/1/13/04/23/23/29/46: Operation not supported
errors in the console, so, I try manually and:-
Code:
pi@raspberrypi ~/CCTV/remoteShare $ dir
events	images	logs  one  sounds  two
pi@raspberrypi ~/CCTV/remoteShare $ ln -s one two
ln: failed to create symbolic link `two/one': Operation not supported
Now, I've tried googling this but the majority of people just say "For other people the symbolic links would be broken, thus, useless" and dismiss it, so, I haven't found a straight answer:-

Is there anyway to be able to write syslinks to a SMB share? Both client and server are running linux.
 
Old 04-23-2013, 10:00 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,411

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
Well, this is just theorising, but Samba relies on the CIFS protocol, which is really designed to talk to MS at one end (although its not reqd).
Actually, CIFS is an MS defined protocol as I understand it.
Its possible CIFS doesn't support symlinks because MS file sytems don't (or at least not in the *nix form) <- guessing..

Since you have Linux at both ends, maybe use nfs instead ?
 
Old 04-25-2013, 02:16 AM   #3
Automatic
Member
 
Registered: Mar 2013
Posts: 42

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
Well, this is just theorising, but Samba relies on the CIFS protocol, which is really designed to talk to MS at one end (although its not reqd).
Actually, CIFS is an MS defined protocol as I understand it.
Its possible CIFS doesn't support symlinks because MS file sytems don't (or at least not in the *nix form) <- guessing..

Since you have Linux at both ends, maybe use nfs instead ?
Thanks, this worked, although, apparently the raspberry PI is too slow to run this program.
 
  


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
How can I mount a NFS share that have a SMB share mounted? perezyanez Linux - Networking 2 09-26-2008 10:03 AM
Mount smb Share with read/write permissions gjblackford Linux - Hardware 3 02-26-2007 01:14 PM
Why is fmask & dmask required to write to a WinXP share mounted on Mdrake SMB client ruscook_oz Linux - Networking 1 02-08-2007 06:50 PM
Cannot write to SMB share as user, can as root GT_Onizuka Linux - Networking 3 10-03-2004 07:52 PM
Example share in smb.conf doesn't work - read/write vs read only kleptophobiac Linux - Networking 0 09-01-2004 08:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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