-- BotBot disconnected, possible missing messages --
[d__d] joined the channel
xyx joined the channel
squirke joined the channel
slowfranklin joined the channel
n8felton1 has quit
Psychodata has quit
Psychodata joined the channel
n8felton joined the channel
Mac_Write joined the channel
deets joined the channel
deets has quit
deets joined the channel
`Cam has quit
`Cam joined the channel
Mac_Write has quit
[d__d] has quit
-- BotBot disconnected, possible missing messages --
[d__d] joined the channel
Duskeren has quit
Duskeren joined the channel
vmiller joined the channel
vmiller has quit
oneplusi joined the channel
|] joined the channel
slowfranklin has quit
slowfranklin joined the channel
Tadpole_Jackson has quit
Gale-Force has quit
Gale-Force joined the channel
Branes has quit
vader- joined the channel
Guest41839 has quit
Guest41839 joined the channel
rimdeker has quit
rimdeker joined the channel
Sedorox has quit
Sedorox joined the channel
radiophage joined the channel
jsparksman joined the channel
radiophage has quit
radiophage joined the channel
radiophage has quit
Adriana__ joined the channel
josh-miller joined the channel
hfike joined the channel
Adriana__ has quit
squirke joined the channel
illern_ joined the channel
illern has quit
illern_ is now known as illern
Branes joined the channel
Branes
G'day.
kbotnen
hi.
mac_ified joined the channel
gmarnin joined the channel
gmarnin joined the channel
osxsmiley joined the channel
swy joined the channel
cwhy1 has quit
foigus joined the channel
cwhy joined the channel
`Cam has quit
guido__ joined the channel
vader- has quit
jeffroman joined the channel
henrycoule joined the channel
MacInLew has quit
nowalmart has quit
nowalmar_ joined the channel
squirke joined the channel
swy has quit
swy joined the channel
ZDubz_ joined the channel
hfike has quit
MacInLew joined the channel
MacInLew has quit
MacInLew joined the channel
xyx has quit
swy has quit
Foxyloxy joined the channel
vader- joined the channel
rickardsj joined the channel
burzos joined the channel
swy joined the channel
burzos
If two processes chmod a file at the same time what happens? The calls are serialized or chmod returns an error?
neastin joined the channel
foigus
One is gonna win. Which one wins is unknown. "Race condition."
burzos
So the 'loser' returns an error?
foigus
Nope, the last chmod wins, assuming it actually has the necessary rights to execute successfully.
burzos
This behavior is defined by posix or something
?
foigus
I doubt it.
burzos
What makes you expect it to work that way?
nronksr
With the Morgan, err, rum, I mean El Capitan, How does one fix user permissions if they happen to go under water? diskutil /repairPermissions is no longer a thing in 10.11... Thoughts/ideas?
foigus
burzos: It's like asking which of your two children will eat the last cookie. It's a race. Maybe the oldest gets there because s/he is the fastest. Maybe the youngest gets there first because the oldest fell down while running to the cookie jar. Too many variables are in play to give a solid answer to your question beyond "it depends".
nronksr
Their diskutil first aid does not fix user perms, only system files with receipts.
trademarkable joined the channel
hfike joined the channel
rimdeker has quit
freezig joined the channel
macdude22_work joined the channel
Psychodata
I guess, theoretically, the first chmod might lock the file while it changes the rights, if the second checked the file then it might throw an error about locked or something like that. But I think that's doubtful
neastin has quit
fumes joined the channel
foigus
burzos nronksr: You may find more traffic/people at MacAdmins Slack, http://macadmins.org
hfike has quit
burzos
foigus: When I let two processes modify the uid/gid of the same file simultaneously, sometimes the uid/gid show as '_update_sharing'?