Metauser

How deep does the rabbit hole go?

The thing to remember about freedom is that it's not given, it's taken. -- Scott Adams

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

February 2, 2009

‘08 Subie WRX

mitch @ 8:33 am on February 2, 2009

Its been quite the year for my ‘08 Subaru WRX… I didn’t write about it, but I was in an accident on Thanksgiving, no one injured, but my Subie had alot of damage…. So much, that I didn’t get it back until the 13th of January… Only to have something still wrong with it (lifters were clicking… but they didn’t tell me what exactly) Which it went back in for that on the 21st, and I didn’t get it back until the 27th…. Only to have it pop up with a check engine light, traction control and a blinking cruise light…

So today its back in for that… This time however, I took it to the Subaru Dealer, but they aren’t sure what it could be… so they will be looking at it, and I’ll write about what it turns up to be when they let me know.

*UPDATE*
It turns out the repair shop had loosened my gas cap, which I didn’t notice until I filled up the morning I took it into the shop and tightened it down. The shop said it was a leaking evap system but everything appeared to be fine. I had them just reset the computer and its been fine ever since.

Cars· WRXNo Comments