Share
Embed
Transcript
22 slides
-
Announcements -- Movie Night • Movie night in two weeks
(instead of meeting)? • No pressure to go, there would be movie food (pizza... lol). • Any movie ideas?? -
Announcements -- Job Opportunities PowersportsTV.com, LLC • Software developer/engineer/designer to
work in our SB office • Part-time or full-time • Looking for local current student or a recent graduate • Need to know PHP, MySQL, AJAX, jQuery, HTML • Design skills are a plus • We own and operate multiple internet properties • Looking for talented individuals -
Announcements -- UC Hackathon From UC Berkeley: Our undergraduate computer
science student association (CSUA) has found that there is tremendous interest in their hackathons. They are getting more and more frequent, larger, and more fun. The current president, Ian Davis, and I were talking about bridging the larger UC undergraduate computer science community through this sort of an activity. We thought that perhaps we could have two simultaneous events in northern and Southern California tied together through a network and video link. We wanted to get a sense of the interest there might be in such an event, perhaps in the spring, and who might be the analogous student points of contact at the different schools. -
Updates -- ICPC • How did the competition go? •
Any cool problems to share / stories? • What now? Any plans -- project Euler? Other competitions? • Google 'sponsorship' -
S ome = new S(); /* #2 */ • Siri
'cracked'! ◦ "Today, we managed to crack open Siri’s protocol. As a result, we are able to use Siri’s recognition engine from any device. Yes, that means anyone could now write an Android app that uses the real Siri! Or use Siri on an iPad! And we’re goign to share this know-how with you." http://applidium.com/en/news/cracking_siri/ • Tell congres to stop the Stop Online Piracy Act (SOPA) ◦ "Don't let big corporations censor the internet. Send a physical letter to your representative." https: //sendwrite.com/sopa/ -
S ome = new S(); /* #2 */ • Skyrim
released! ◦ Who has it? TJ is buying it, he thinks. -
FLAW-related question • Who would like to learn about VIM?
• What kind of time do you think a workshop on it should take? ◦ (aka how much time would you be willing to put in) -
FLAW #4 -- UNIX file basics • The file permission
bits + folders • chmod • chown • setuid, setgid • executable bit • links (symbolic and hard) ◦ deployments -
FLAW #4 -- UNIX file basics File permissions, explained. Examples:
-rw-r--r--, drwxr-xr-x, First character: • -: file • d: directory • l: link -
FLAW #4 -- UNIX file basics The next 9 characters
are broken into groups of 3: USER GROUP EVERYONE --- ---- ---- And the three possible characters, generally are: (r)ead (w)rite e(x)ecute in that order -
FLAW #4 -- UNIX file basics Sometimes, the execute bit
is (s) rather than (x). What does this mean? • setuid (suid) • setgid (guid) Security implications of this are important. -
FLAW #4 -- UNIX file basics /bin/chmod = "change mode"
Can use octal: 000 -> three bits -> represents values 0 through 7 1 = 001 = --x 2 = 010 = -w- 4 = 100 = r-- 7 = 111 = rwx • chmod u+x file: add execute bit for owner • chmod 644 file: sets permissions to rw-r--r-- • suid: 4_ _ _, gid: 2_ _ _, sticky bit: 1_ _ _ -
FLAW #4 -- UNIX file basics /bin/chown = "change owner"
chown tj:tj file