An open API service indexing awesome lists of open source software.

https://github.com/paxa/can_write

Set permissions for folders and files
https://github.com/paxa/can_write

Last synced: 5 days ago
JSON representation

Set permissions for folders and files

Awesome Lists containing this project

README

          

# Using

gem install can_write

Make file named can_write in your application root and write simple commands, such as:


['tmp', 'log'].should_be_writable.by_user 'www-data'

%w{app lib}.should_be_readable.by_user 'www-data'

%w{script/generate script/about}.should_be_executable.by_user 'www-data'

Run in your application filder

can_write