Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2010-07

SVN, Mac OSX, and Samba

9 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Brunner

Hi there,

Anyone using FPC/Lazarus to develop on a MAC OSX and having success with SVN over a LAN with Samba?
I'm having a hard time getting anything to commit on my OSX box and wanted to see if someone here has solved the file locking problem that OSX 10.6 presents.

Thanks for any help.

Reply by email

Marc Weustink
to Andrew Brunner
Andrew Brunner wrote 7 lines
Hi there, Anyone using FPC/Lazarus to develop on a MAC OSX and having success with SVN over a LAN with Samba? I'm having a hard time getting anything to commit on my OSX box and wanted to see if someone here has solved the file locking problem that OSX 10.6 presents.

Never tried Samba on OSX. I'm using nfs without any problem. A loooong time ago I used Samba on linux, but that screwed up the file permissions since there was no extended atribute support. Since then I switched to nfs.
Maybe an option ?

Marc

Reply by email

Graeme Geldenhuys
to Marc Weustink

Op 2010-07-06 23:23, Marc Weustink het geskryf:

permissions since there was no extended atribute support. Since then I switched to nfs.

Slightly off the topic, but do you know if Windows has NFS support? I would really like to get rid of Samba on our server (also due to the no extended attribute support).

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://opensoft.homeip.net/fpgui/

Reply by email

Michael Van Canneyt
to Graeme Geldenhuys
Graeme Geldenhuys wrote 8 lines
Op 2010-07-06 23:23, Marc Weustink het geskryf: > permissions since there was no extended atribute support. > Since then I switched to nfs. Slightly off the topic, but do you know if Windows has NFS support? I would really like to get rid of Samba on our server (also due to the no extended attribute support).

It has, if you install the unix services for windows.

I used it some years ago, but I wouldn't say it is better than using samba. It's not in M$ interest to have extensive NFS support.

Michael.

Reply by email

Marc Weustink
to Graeme Geldenhuys: Op 2010-07-06 23:23, Marc Weustink het geskryf: Slightly off the topic, but do you know…
Graeme Geldenhuys wrote 8 lines
Op 2010-07-06 23:23, Marc Weustink het geskryf: > permissions since there was no extended atribute support. > Since then I switched to nfs. Slightly off the topic, but do you know if Windows has NFS support? I would really like to get rid of Samba on our server (also due to the no extended attribute support).

Yes, windows has, but it is slower than samba, so I switched back to samba (I do have extended attibutes nowadays)

Unfortunately I forgot how I enabled it. Thought it was some additional networking component, or an extra client installed on your lan. But I cannot find it here.

Marc

Reply by email

Andrew Brunner
to Marc Weustink

The network I have is a file server running Ubuntu x64 with samba sharing. All clients (running Ubuntu,Windows,OSX) connect to the file share and mount it locally. The Windows and Linux boxes mount, checkout/commit/update, and unmount without problems. The Apple OSX can mount, checkout/update but cannot commit to anything.

The problem is with darwin, ironically. It hasn't evolved the sense to be compatible with the rest of the world ... LOL. Darwin is missing a required file locking mechanism available for unix/linux but for some strange reason was not included with darwin. Pretty pathetic but I'm sure there is a work around. I just need to find it and get on with development. I suppose I can export, zip and copy, and overwrite files from Darwin to Ubuntu when my changes get worth committing but this is ridiculous.

The developers over at Apple haven't really done much with Darwin/OSX since they scrapped PPC. With all that market cap you'd figure they could walk and chew gum...

Reply by email

Marc Weustink
to Andrew Brunner
Andrew Brunner wrote 5 lines
The network I have is a file server running Ubuntu x64 with samba sharing. All clients (running Ubuntu,Windows,OSX) connect to the file share and mount it locally. The Windows and Linux boxes mount, checkout/commit/update, and unmount without problems. The Apple OSX can mount, checkout/update but cannot commit to anything.

Since my fileserver exports the shares to both nfs and samba, I use nfs for linux/osx, and samba for windows.

I faintly remember that I might have had some issues with samba on OSX, so I quit that exercise (since nfs is faster anyway).

Marc

Reply by email

Andrew Brunner
to Marc Weustink
Marc Weustink wrote 15 lines
Andrew Brunner wrote: > > The network I have is a file server running Ubuntu x64 with samba sharing. > All clients (running Ubuntu,Windows,OSX) connect to the file share and > mount it locally. The Windows and Linux boxes mount, > checkout/commit/update, and unmount without problems.  The Apple OSX > can mount, checkout/update but cannot commit to anything. Since my fileserver exports the shares to both nfs and samba, I use nfs for linux/osx, and samba for windows. I faintly remember that I might have had some issues with samba on OSX, so I quit that exercise (since nfs is faster anyway). Marc

K. Thanks Marc. I'll look into nfs shares on my linux server.

Reply by email

Andrew Brunner
to Andrew Brunner
Show quoted text 9 lines
On Wed, Jul 7, 2010 at 8:39 AM, Marc Weustink wrote: > Since my fileserver exports the shares to both nfs and samba, I use nfs for > linux/osx, and samba for windows. > > I faintly remember that I might have had some issues with samba on OSX, so I > quit that exercise (since nfs is faster anyway). > > Marc

Thanks Marc,

Setting up NFS on Ubuntu worked flawlessly and now I don't need to mess with credential files. Man if NFS wasn't installed directly into the Kernel I would really be afraid of security. But I was able to get OSX 10.6 to perform svn duties.

Thanks again.

Reply by email