Samba/nfs symbolic link problem.
Matthew Momjian
matthew at momjian.us
Sun Oct 21 19:24:06 UTC 2007
Marius Gedminas wrote:
Checking application/pgp-signature: FAILURE
-- Start of PGP signed section.
> On Sat, Oct 20, 2007 at 07:55:42PM -0500, James Macele Jones wrote:
> > I have a bit of a problem here. When I mount a samba or nfs share that
> > contains symbolic links it seems that Ubuntu 7.10 "Gutsy" reads the
> > links and regular links... for example:
> >
> > On my server I have a share with 3 drives linked in it. The share is
> > called Music... Within the music share I have symbolic links to 3
> > mounted HDDs.
> >
> > [Music]
> > A-J --> /mnt/350gig_a
> > H-O --> /mnt/350gig_b
> > P-Z --> /mnt/250gig
> >
> > With Nautilus everything works as it should... and if I mount the share
> > with Nautilus everything works as it should. However, if I mount it with
> > mount -t or smbmount or mount.cifs I get a successful mount but my
> > system tries to resolve the links LOCALLY. Therefor all the links show
> > as broken... because I don't have a /mnt/350gig_a on my local machine.
> >
> > How I have spent a good bit of time on the samba forums and the Ubuntu
> > forms to no avail. I see many people posting with the problem but few
> > with any workable solutions.
>
> Edit the configuration of your Samba server and disable unix extensions:
>
> /etc/samba/smb.conf:
>
> [global]
> unix extensions = no
>
> I'm surprised that the samba forums didn't have the answer.
>
> > I should probably mention that the shares also work fine on a windows
> > box. Makes me think it must have something to do with my local cifs
> > configuration.
>
> Windows does not support Samba's unix extensions and doesn't see the
> symlinks as symlinks.
>
> AFAIU Nautilus (or, more specifically, gnome-vfs) has its own
> implementation of the SMB/CIFS protocol, and probably doesn't suport
> unix extensions either.
>
> Marius Gedminas
> --
> Voodoo Programming: Things programmers do that they know shouldn't work but
> they try anyway, and which sometimes actually work, such as recompiling
> everything.
> -- Karl Lehenbauer
-- End of PGP section, PGP failed!
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
I had the same problem with my UNIX NFS filesystem. I moved from samba
bacause NFS was faster for streaming video. To solve this problem, I
mounted my /usr UNIX folder to ubuntu, then changed all the important
symlinks on my server to relative (for example, ../var/local/ instead of
/usr/var/local)
Matthew
--
Matthew Momjian matthew at momjian.us
I am an actor at Hedgerow Theatre I have been in over 15 plays there
More information about the ubuntu-users
mailing list