LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-13-2006, 03:59 AM   #1
bloody_penguin
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Rep: Reputation: 0
symbolic links in samba


Hi everybody. I need to use symbolic links within a folder mounted by smbmount from a windows box in linux. However, i got a message error like "operation not permitted". Any of you had tried to do this?
 
Old 10-13-2006, 05:13 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Where are you trying to put the links? VFAT filesystems cannot host symlinks. I'm not sure about NTFS, but I don't think they work there either. You can create a link on a linux filesystem that points to a Windows share however, I believe.
 
Old 10-13-2006, 05:18 AM   #3
bloody_penguin
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0
...the filesystem in the window box is ntfs. What i am trying to do is to compile a c program in a folder which has been mounted with smbmount in a path within the linux box. The makefile use some "ln -s" commands during the compilation process and they seem to be not permitted within the samba mount.
 
Old 10-13-2006, 05:51 AM   #4
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,837

Rep: Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981Reputation: 1981
Then I suspect you'll have to copy everything out to a linux drive and build it from there. The problem's inherent in the Windows filesystems themselves, so there's probably no easy way to work around it.

If I'm wrong, hopefully someone will come around soon and correct me.
 
Old 10-13-2006, 06:00 AM   #5
bloody_penguin
LQ Newbie
 
Registered: Nov 2004
Posts: 4

Original Poster
Rep: Reputation: 0
yes, i'm sure your right when you say that the problem is related to the windows fs. However, in the samba guide i found the following statement

"...Aside from little things such as these, the mounted smbfs filesystem can be used in conjunction with virtually any application, and you might be pleasantly surprised at how nicely it integrates with your Linux-based computing environment. You can even create symbolic links in the Unix filesystem, pointing to files and directories inside SMB shares. However, unless the server is a Samba server that supports Unix CIFS extensions, you will not be able to create a symbolic link inside the mounted smbfs filesystem"

So, i was thinking that maybe is not impossible...
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
cp and symbolic links? sausagejohnson Linux - General 3 07-19-2005 02:25 AM
Problem with Samba, FAT32 and Symbolic links kolt Linux - Networking 3 10-22-2004 04:43 AM
Samba fs with kernel 2.6 and symbolic links F1uX Linux - Networking 5 03-25-2004 06:42 AM
Symbolic links pdstatha Programming 1 04-08-2002 10:50 PM
Symbolic links Valerie Linux - Newbie 12 03-31-2002 02:49 AM

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

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