From: Logan Capaldo Date: 2007-10-09T22:35:48+09:00 Subject: Re: Hiding source code On 10/9/07, Shai Rosenfeld wrote: > > I have written an app in Ruby for my company and I was the only one > > that had acess to read/execute it. I've hired someone to help me with > > daily work and that includes having him execute a set of those Ruby > > scripts. > > > > Is it possible to allow him to only execute the code and not give read > > permission? All boxes are running Linux. > > i may have overlooked something but what is wrong with using chmod? > > http://www.computerhope.com/unix/uchmod.htm > > -rwx--x--- 1 mksm youandfriendgroup 7264 2006-12-07 13:42 > rubyscript.rb > > in the example above only you have all Read-Write-eXecute permissions, > and you're friend only has eXecute permissions. > -- > Posted via http://www.ruby-forum.com/. > Ruby scripts are not ELF/Mach-O/PE/"whatever your system uses" binaries. Your friend needs to be able to read the script to execute it. >