Ruby Issue Tracking System: Issueshttps://bugs.ruby-lang.org/https://bugs.ruby-lang.org/favicon.ico?17113305112013-12-23T17:40:30ZRuby Issue Tracking System
Redmine Ruby master - Feature #9286 (Closed): Add unit test for test_chown in test_fileutils.rb with non-...https://bugs.ruby-lang.org/issues/92862013-12-23T17:40:30Zvajrasky (Vajrasky Kok)sky.kok@speaklikeaking.com
<p>Right now, there is no unit tests for test_chown except for checking whether chown is singleton or not. Hereby, I attach the patch to test the capability of chown method with non-root user account. Non-root user can change the group ownership of the file (but not the user ownership).</p>
<p>In separate tickets, I'll add unit test for chmod_r and chmod with root account. We do it step by step.</p>