maybe something like this?
[…]
rolando:test_perm rolando$ cat perm.rb
NOTE: 060 == g+rw
This is what I’m reduced to doing now. It just feels wrong
for me to have to resort to octal – it’s not at the
correct abstraction level as evidenced by your comment.
with something like Hal F.'s sym2oct,
Is there an alternative to all this yak shaving?
Not at the moment, but both are excellent ideas. I’ve submitted them
myself at:
Excellent; thanks.
I’ve already tested and committed the changes for the :user and :group
changes.
They’ll be part of release 0.2.2. I should have a release out this week.
I’ll save the :perm changes for 0.2.3 after I’ve had the chance to
review some
of the code I’ve seen online.
with something like Hal F.'s sym2oct,
Is there an alternative to all this yak shaving?
I just released file-find 0.2.4 which now does all your yak shaving
for you, i.e. it now supports symbolic permissions, too.
Regards,
Dan
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.