Samba Permissions

I’ve always had a problem with figuring out permissions in Samba. Today I was looking up some information on it and found this very good description posted on the samba mailing list:

“create mask” *removes* permissions. “force create mode” *adds* them. To quote from the man page for smb.conf

This parameter [create mask] may be thought of as a bit-wise MASK for the UNIX modes of a file. Any bit *not* set here will be *removed* from the modes set on a file when it is created.

So if you don’t want the o+r bit set use:

create mask = 0770

If you now want to force ug+rwx permissions for all files, *also* use:

force create mode = 0770

Another way of thinking about these is that “create mask” sets an upper bound on the permissions for the file and “force create mode” sets a lower bound, and the actual permissions are in between. (Except that force create mode is applied second, so if it is more permissive than the create mask, force create mode will override create mask.) Note that neither of these apply to directories. The analogous parameters there are “directory mask” and “force directory mode”.

Ebay bans other payment processors, only PayPal is allowed.

eBay has revised its policies to only allow one online payment service, PayPal. This comes after speculation that Google is preparing a payment service. So far the reaction among eBay users has been mixed.

I think this is just wrong. Ebay should allow any online payment service not just PayPal. Especially since they own PayPal. If they didn’t own them it would be another story. Put another reason not to use Ebay/Paypal up on the board.

read more | digg story

Dell UltraSharp 2005FPW 20.1 LCD $394… It’s Back! And Dell 24″ LCD $780

Yeah I bought one when the last deal was going on…got it in next to my 21″ Sony GDM-F520 and the contrast blows my sony out of the water. I paid over $1500 for that friggin CRT! I went ahead and got another 20.1 inch to make it dualies on my humble GeforceFX5900. It will be sw33t!

Dell Home has the very nice Dell UltraSharp 2005FPW 20.1″ LCD Monitor with Stand back on sale for $749
– 35% off code WFQ9X9GW1VT?2R – $60 off $500 code B5SM90M526JSBK. Total is $394 + $3 Shipping = $397. And they also have the Dell UltraSharp 2405FPW 24″ LCD Monitor for $780 after coupons!

read more | digg story

Want to learn Chinese?

I have always wanted to learn Chinese. Maybe it’s because half of the world’s population speaks a form of Chinese, but it has always interested me. I found a wikibook called Chinese (Mandarin) that has 9 lessons on learning Mandarin Chinese (a traditional Chinese dialect). There are also alot of other great books at WikiBooks. Check it out and post here what you find in the comments.