|
At the crossroad of New media, Engineering, Research and Development
|
|
Recently shot with a bunch of people from Toronto Camera Club at their location. It was a great shoot, great models and MUA’s and a bunch of fun photographers. Just finished the sets and uploaded them to flickr. Here is a quick slideshow: ![]()
Feb
28
2013
Creating OSX and Windows compatible Dropbox Functionality in Windows Server 2008 R2 with Dell FS7500 NAS backend.This took a while to figure out, mainly because I’m a unix guy trying to “figure out” Windows Server and it’s archaic ACL system and the fact that ACL’s/attributes under OSX are just insane. The main issue I had with all the other recipes on the net describing this process was that it did NOT work for OSX/Finder. When users transferred the files, Finder was not able to strip off it’s “in-use” attribute from the file once copied to the destination. This would leave files in limbo (greyed out) and no one could touch/access them from another Mac until I stripped the “in-use” attribute off manually. Normally SMB capable NAS’s ignore Finder/OSX attributes and this does not happen, but FS7500 is “mac friendly” and preserves the attributes so we had to figure out a way to give Finder enough rights to be able to strip the attribute off once the file was copied. The core idea here is that you have a windows share (\\elm\DROPBOX in my case) which has a bunch of subfolders under it, one per class (they are in the form of BDCxxx.yyy in my case). What we’re trying to do is give AD users who are in AD groups (also called BDCxxx.yyy in my case) which represent classes enough permission to get inside \\elm\dropbox and see the name of the subfolders and be able to drag files onto the appropriate class subfolder (BDCxxx.yyy), essentially submitting their assignment. What we don’t want to let the users do is to peak inside those subfolders. It’s the equivalent of a “write only” group permission on a folder (no execute or read bit) in unix land. We also want to have our instructors be able to access everything in the DROPBOX share, so we use a group called DropBoxMasters for that purpose. For the sake of this example I will use the student/class group BDC974.011 which the students belong to and DropBoxMasters group for our instructors. So here we go: 1) We obviously need a share. If you’re using a FS7500 NAS you just create the share and that’s it, no sharing permissions, everything is controlled by Windows ACL’s. If your share is on windows then I guess you can give full control sharing permissions to Domain Users. Once this is done we access \\elm to set the Windows permissions on DROPBOX share. 2) For DROPBOX we need the following permissions to be set to Allow and Apply it to “This folder only”: Traverse folder/execute file, List folder/read data, Read attributes, Read extended attributes, Read permissions. This will allow our BDC974.011 students to see the content of this folder (i.e. the subfolders, one per course). Remember that you need to create this permission set for each individual course/group/class. And remember to apply to “This folder only”. 3) Still on DROPBOX share permissions we want to setup the DropBoxMasters group. This one is easy since it’s “Full control” permission that applies to “This folder, subfolder and files”. Easy :-) 4) Before we go on, a note about the above process. In the permissions/Advanced security settings you should only have the “class/course” groups, the DropBoxMasters group, SYSTEM group (with full control) and Domain Admins (with full control). Next we want to create the subfolders inside DROPBOX, one subfolder per course/class (BDC974.011 in my case). Permission wise we want to setup the following permissions for the group that matches our course/folder (i.e. the example screen shots here are for group BDC974.011 on subfolder \\elm\DROPBOX\BDC974.011). We need the following permissions to be set to Allow and Apply it to “This folder only”: List folder/read data, Read attributes, Read extended attributes, Create files/write data, Create folders/append data, Write attributes, Write extended attributes, Read permissions. 5) Still in the security settings for the course subfolder we need to add “CREATOR OWNER” to the list of permissions (This is a built-in windows entity) and give it the following permissions for “Files only”: basically all the allow check boxes EXCEPT the following (leave unchecked)……Full control, Change permissions, Take ownership. Remember these permissions are to be applied to “Files only”. That’s it…..Now just keep repeating this for all your courses/groups. Feb
20
2013
Get rid of double (triple) entries in Finder’s “Open With” MenuDoes sh*t like this make you wanna smack your mac :-) Here is a quick way to rebuild the Launch Services database and get rid of duplicates in the Open With submenu:
This process should take about a minute or two. You should check to see if this has fixed the problem. On my machine, running 10.8.2, I had to also restart Finder to complete the process using the following command:
That’s all…..Now Open With submenu is squicky clean Jan
23
2013
Setting NTP time server on Dell FS7500 through command line
That’s it for now…….
(Via MacOSXHints.com) Dec
15
2012
What Internet search would have looked like when IBM System 360 ruled the worldGoogle60 is Norbert Landsteiner’s art piece that tries to convey what google.com search would have looked like back in the 60′s — when IBM System 360 monsters ruled the machine rooms. An absolute gem for all the 360 nerds left out there.
Dec
10
2012
Turn Your FreeNAS Box Into the Ultimate Anonymous Downloading MachineTurn Your FreeNAS Box Into the Ultimate Anonymous Downloading Machine:
(Via lifehacker.com) Oct
04
2012
Steve Jobs’ Speech From 1983 About Things That Didn’t Exist Until Now
(Via www.iphoneincanada.ca) Sep
22
2012
Glove Based Sign-to-Speech SystemGlove Based Sign-to-Speech System:
(Via MAKE Magazine) Sep
20
2012
IOS6 Passbook “Can’t connect to iTunes Store” error fix…..Yeah, brand new app in IOS6 and it does not work without fiddling…..Here is how you get it working:
That’s it…….life goes on :-) Aug
29
2012
The Birth and Rise of Ethernet: A History – Input OutputThe Birth and Rise of Ethernet: A History – Input Output:
(Via h30565.www3.hp.com) Aug
29
2012
Searching the Internet B.G. (Before Google) – Input OutputSearching the Internet B.G. (Before Google) – Input Output:
(Via h30565.www3.hp.com) Aug
29
2012
The History of the Floppy Disk – Input OutputThe History of the Floppy Disk – Input Output:
(Via h30565.www3.hp.com) Aug
28
2012
How to Run Mac OS X Inside Windows Using VirtualBoxHow to Run Mac OS X Inside Windows Using VirtualBox:
(Via lifehacker.com) NASA – Neil Armstrong: 1930-2012:
(Via www.nasa.gov) Aug
24
2012
Preview Fonts with One Click in the OS X Font Window [Mac Tips]
Preview Fonts with One Click in the OS X Font Window [Mac Tips]:
(Via Lifehacker) Ghosts in the ROM » NYC Resistor:
(Via www.nycresistor.com) |