in reply to Setting file permissions for a module built on a Windows PC
I googled a bit and found this little gem:
Good news: There’s a standalone tar.exe among the UnixUtils suite (gzip’s there too). And in their characteristically absurd foresight, those devs included an arg to manually set the mode of things as they’re archived.
Bad news: it’s one arg that applies to everything.
Technically this exercise can end here. Adding everything as 777 will make scripts work, at the cost of executable jpegs and extra glowy terminals. To do it right though, we’ll have to make multiple passes, walking the tree and only add one kind of thing at a time (dirs, files, scripts).
-- http://www.misanthropicgeek.net/?p=882p/p
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Setting file permissions for a module built on a Windows PC
by Anonymous Monk on Aug 24, 2012 at 10:39 UTC | |
by philiprbrenan (Monk) on Aug 24, 2012 at 15:07 UTC |