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
- Host: GitHub
- URL: https://github.com/paxa/can_write
- Owner: Paxa
- Created: 2010-02-26T09:43:25.000Z (over 16 years ago)
- Default Branch: master
- Last Pushed: 2010-03-09T11:41:45.000Z (over 16 years ago)
- Last Synced: 2025-05-26T01:10:48.733Z (about 1 year ago)
- Homepage:
- Size: 70.3 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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