Guest User

Untitled

a guest
Aug 11th, 2014
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. perms = 0755
  2. puts "Setting permissions on #{file_name} to #{perms.to_s}"
  3. script_path = "#{downloadedscripts}/#{file_name}"
  4. File.chmod(perms, script_path)
Advertisement
Add Comment
Please, Sign In to add comment