summaryrefslogtreecommitdiff
path: root/lib/fileutils.rb
diff options
context:
space:
mode:
-rw-r--r--lib/fileutils.rb3
1 files changed, 2 insertions, 1 deletions
@@ -1345,6 +1345,7 @@ module FileUtils
else
File.chmod mode, path()
end
end
def chown(uid, gid)
@@ -1439,7 +1440,7 @@ module FileUtils
if st.symlink?
begin
File.lchmod mode, path
- rescue NotImplementedError
end
else
File.chmod mode, path