Metauser

How deep does the rabbit hole go?

What we learn with pleasure we never forget. -- Alfred Mercier

Home Photos

February 19, 2009

Samba fileserver and Mac OS X Clients

mitch @ 3:14 pm on February 19, 2009

I ran into a slight issue today with OS X (Leopard), where it would ignore the file permissions forced by my samba file server… In order to maintain users and groups with the correct permissions, I have shares setup like:

[share]
comment = share Volume
path = /srv/SHARE
browseable = yes
writeable = yes
Valid Users =@DOMAIN+"Domain Users"
create mask = 0660
force create mode = 0660
directory mask = 0770
force directory mode = 0770
force group =@DOMAIN+Domain Users
hide files = /__TMP__/.DS_Store/lost+found/

so, I should get files that look like:

-rw-rw---- 1 root root 0 Feb 19 15:07 test1

But the default umask on OS X is 022, so I would get files showing up like:

-rw-r--r-- 1 root root 0 Feb 19 15:07 test2

On the above share… This would prevent other users from changing the files….
Turns out, Apple started pushing for more POSIX compliance and as a result their files would turn up with the permissions assigned to the file on the local system or with their default umask as its created. In a shared world… not always ideal, but I don’t want to have to change the umask on all of the OSX clients…. found an option in samba that I added under the [global] section as follows:

[global]
.....
# Make OS X Leopard play nice with others
unix extensions = off

This fixed my problem.

Apple· Linux· RedHat· WorkNo Comments

August 30, 2008

Googles Android – My next Phone

mitch @ 2:28 pm on August 30, 2008

I know I currently have an iPhone, however… I must say… I don’t like the requirement for iTunes. Its not that I don’t like iTunes specifically.. (for the most part I dont find anything wrong with it… other than the proprietary formats for music that you typically buy off the iTunes store…), but my main complaint is that I run Linux, and only Linux on my desktops and servers. Yes I have a virtual machine of windows XP, however, getting USB to pass through to it for iTunes and syncing my iphone just isn’t really what I Like to do. I really want something to integrate. I want what windows and mac have had forever, but on my linux desktop. Don’t flam and bitch that I could if I just used those other operating systems… thats not an option. I love my linux desktop so much that my latest laptop (Lenovo ThinkPad T61) I bought with SuSE preloaded simply because I have no need for windows outside of the stupid iPhone sync process. The Linux desktop is amazing if you ask me… I however am not a Linux elitist that I try to force my personal preferences onto others. It just works for me, allows me to work and perform my job very well, so I don’t plan on going to any other OS for myself… ever.

Anyway… I ran off on a tangent… My new phone will run Android. I’m hoping for a new one sometime this year… maybe they’ll release the HTC Dream by then and I can get it for my birthday.

Anyway, in case you don’t know what Android is… there are youtube videos all over about it. Look it up. Looks just as amazing as my linux desktop. I honestly cannot wait.

Apple· Linux· Microsoft· Technology· ThoughtsNo Comments

July 24, 2008

iPhone updates

mitch @ 7:08 pm on July 24, 2008

The word press app for the iPhone is pretty cool. I just might get more blog posts now.

Apple· TechnologyNo Comments

April 13, 2008

Not going switching to MacBook Pro

mitch @ 8:03 am on April 13, 2008

Since getting the MacBook Pro from my boss, I’ve had some time to play with it. As it turns out, I still only like to use it as much as I like to use my wife’s laptop, mostly just for checking email and web browsing. It just seems slower than my Lenovo, even with its faster procs and same amount of ram… to test I got it dual booting Ubuntu, but even that seems slow. All that I could deal with, however, I really don’t like the keyboard. Or rather the lack of an insert, and a delete and back space keys. Page Up and Page Down also seem to be missing. These keys I use alot, and they’re all very accessible on my Lenovo. So, I’ve decided, I won’t be fully switching from my Lenovo as much as my boss wants me to. The biggest reason so far that I could have used the mac was more for the 1Gb nic it has in it. At work I’ve had to do some testing of the network and I have some scripts and other applications that can fully maximize the throughput of the network, and my current hardware peaks at 100Mbit so, I didn’t see some problems that others in the building were experiencing because of it.

I had the choice to buy a laptop with a 1Gb nic in it when I bought this, it would have cost me more, but to be honest, it was a laptop, when would I EVER actually be able to utilize a gigabit nic. Well… saving to or reading from the hard drive its impossible… but reading and writing straight from ram, you can actually get around to filling a gigabit pipe.

So, I have a reason to switch, I just don’t think I will be. If anything it will give me a reason to buy a new Thinkpad T61 :)

Apple· Technology· Thoughts· WorkNo Comments

April 7, 2008

to dual boot my mac or not

mitch @ 10:41 pm on April 7, 2008

Well, I’ve had the macbook pro for a couple weeks now, and while I personally don’t have a problem with Mac OS X… its just not Linux. I like mac fine and all… When I’m using it however… I miss my ubuntu laptop. Browsing the web and doing email works just fine on the mac… also I generally would prefer the mac when doing movie stuff, however it was a pita to get xvid working. (it only took me 20 minutes or so, but that was still way to long, my “aptitude install gstreamer-*” works much nicer) And ports on the mac… what a joke, its an even bigger pita. It attempts to be like linux’s package managers, however, you have to install all the xcode tools before you can even run those, and that took 45 minutes or so. Over all… the Mac interface is definately nice, thats not my complaint, its just I like my open source tools, and the mac is just to proprietary for me to really work on. So..

I believe I will be repartitioning this mac… or maybe, i’ll try out the partition resizer built in… don’t really care if I corrupt the data on it… By this time tomorrow hopefully, I’ll be abe to dual boot the latest ubuntu 8.04 (yes, i know currently still beta)

Apple· UbuntuNo Comments

March 27, 2008

new stuff its like Christmas

mitch @ 2:36 pm on March 27, 2008

My boss has been into macs for a couple years(after the release of OSX like most unix converts) and the result has been lots of mac purchases. This brings me to my new stuff, he had bought an iPhone when they first came out and the release of the new 16gb ones spurred a new purchase of one along with a new MacBook pro. So I got the left overs. A 4gb (newly replaced under apple care) and his old 15″ macbook pro

In fact I’m writing this on the iPhone right now!

AppleNo Comments

June 7, 2005

Apple going Intel!!

mitch @ 9:47 am on June 7, 2005

Hell has frozen over. Atleast thats the sentiment of most mac users. It’s beent the joke for a while, and also been the rumor since the initial release of OS X. I’d heard a long time ago that Apple had a “just in case” plan with OS X, which had every release running on Intel hardware, which isn’t to hard to believe considering its roots(BSD). CEO Steve Jobs confirmed this during his keynote speech yesterday. Now, what I’ve read alot of people say is “will I be able to load this now on my current system?” The answer is “not if Apple can help it”. With the fact that Apple is now going to Intel does not mean that those of us that build our own systems will be able to install OS X ourselves onto those systems. Why? Because they are not changing their buisness model, doing that would put them in direct competion with MS and Linux on their turf. Apples target audience will not know nor care what processor their system is running on. When you buy Apple, you don’t care, you buy the whole package. Why the move then? Well as Steve Jobs put it, there wasn’t a roadmap with the PowerPC. IBM isn’t making it advance as fast as Apple would like, and there were cooling issues with the G5 that prevented them putting it in a laptop. There were also production issues with the PowerPC. With Intel, these are all solved. I’m actually liking this change, its one I wish they would have made along time ago. This may contradict my reactions with Intel, the Pentium D, and DRM I had made a while ago, but as I said there, it heavily depends on how the DRM is implemented. If it can be turned off, and hopefully won’t be implemented in the Apple variety. However, I still think Apple could have gone with AMD, but AMD couldn’t solve the production problems had with IBM either(Its probably debatable, but that would have changed if AMD had gotten the deal with Apple..). Anyway, This all still keeps me probably going for an Apple next time I’m going to buy a laptop.

Apple· News· TechnologyNo Comments

April 25, 2005

Mac and PC price comparisons

mitch @ 12:05 pm on April 25, 2005

Mac Laptop != PC Laptop. After reading this article I would also like to say that any comparisons that are made Mhz for Mhz, and feature for feature is not a correct way to compare these two types of laptops. They are completely different architectually. Since the release of OS X, and Jobs’ return to Apple, I’ve loved alot of their hardware designs, I just haven’t had the money to buy one of the systems… With the introduction of the Mac Mini, and Fedora now being compiled for PPC, I do believe my next box will be an Apple. I would love to get my hands on an iBook or if possible a PowerBook. If I get a raise here at work, and we get other things paid off… *sigh* someday anyway :)

Apple· Technology· ThoughtsNo Comments

March 25, 2005

Mac Mini

mitch @ 12:18 pm on March 25, 2005

I’ve been hearing alot of things lately about Apple’s Mac Mini. With people putting them in cars, and with Fedora creating a PPC port. I’m thinking instead of trying to build a small VIA box for use in home automation/media storage, I think I’ll buy one of these neat little boxes. I can’t believe how small they are…

*sigh* I’m hoping I’ll have the time for this soon.

Apple· Technology· ThoughtsNo Comments