149 reputation
5
bio website
location
age
visits member for 2 years, 2 months
seen May 19 at 12:37

Mar
26
awarded  Citizen Patrol
Mar
26
revised Generate CPU, memory, disk and network graphs from command-line
Asked question on the wrong time
Mar
26
asked Generate CPU, memory, disk and network graphs from command-line
Feb
18
comment Windows: View other network shares without sharing anything myself
There are other consultants in my company (and I occasionally do some sysadmin tasks, although that's not my primary job), sorry if that wasn't clear.
Feb
18
accepted Windows: View other network shares without sharing anything myself
Feb
18
comment Windows: View other network shares without sharing anything myself
I do have a strong password on my account, but that measure isn't effective for other people's laptop -- we all know that when you ask them to put a strong password, they end up putting their dog's name :), and I think they shouldn't have to use a strong password to prevent access to a service that shouldn't be offered in the first place. Setting up the firewall is a great idea, though, that way their computers can be configured once and for all. Also, I do know more about linux than windows, but I am aware that there is plenty to know about the latter, so please don't be dismissive :) .
Feb
18
revised Windows: View other network shares without sharing anything myself
deleted 52 characters in body
Feb
16
comment Windows: View other network shares without sharing anything myself
@joeqwerty I removed the sarcastic line and picture, to make the question look more objective.
Feb
16
revised Windows: View other network shares without sharing anything myself
Removed sarcasm, after all StackOverflow is not a place for rants :)
Feb
16
comment Windows: View other network shares without sharing anything myself
@joeqwerty No, it is an actual question (with a bit of a rant in the way it is presented). I really do want to know how I can view shares on the network I'm connected to without risking exposing my data, if that's possible. I currently have disabled file sharing altogether, but it's not a satisfactory solution.
Feb
16
revised Windows: View other network shares without sharing anything myself
Improved question title.
Feb
16
asked Windows: View other network shares without sharing anything myself
Nov
1
comment Break all hardlinks within a folder
@Tobu Thanks, I modified my code to use mktemp -d in order to create a temp dir, in which I copy the file using cp -i, to avoid accidentally overwriting anything. There's still a possible race condition if we start copying the original file, then something removes it and replaces it with some new file, and we mv the copy over that new file, so this script isn't safe when run in, say, a network share, but should be ok for de-hardlinking files on a local disk where we make sure no process is performing modifications while the script works.
Nov
1
revised Break all hardlinks within a folder
Use `mktemp -d` instead of tempfile.
May
8
comment Break all hardlinks within a folder
By 'crude', I mean that, for example, when I ran this command using the cp -i switch, it spat at me a few messages asking if it should override ./fileXXXXXX (the $temp file), even though tmpfile should give unique file names, so there must be some kind of race condition or whatever, and with it the risk to loose some data.
May
8
revised Break all hardlinks within a folder
Added a few tweaks
May
7
awarded  Supporter
May
7
awarded  Editor
May
7
revised Break all hardlinks within a folder
Warned about adding -p option to cp, since the command is nearly dangerous as-is.
May
7
comment Break all hardlinks within a folder
Indeed, I always use cp -a when copying stuff, to preserve everything, recurse and copy symlinks as symlinks. Don't know why I forgot it this time, but after seeing your answer, I understood I had screwed up all my timestamps, and had to (rather painfully) recover them from a backup.