menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Theia

Eclipse Theia - Cloud & Desktop IDE

Channels
Team

File download write privilege check?

December 20, 2018 at 6:32am

File download write privilege check?

December 20, 2018 at 6:32am (Edited 4 years ago)
I just found that Theia file download check whether calling process has write privilege or not before doing actual download. It seems check R_OK privilege is enough. If it should check write privilege, Could anyone explain the reason? Thanks.

December 20, 2018 at 8:15am
Nice catch, can you please file a GH issue?
No problem. If it is ok, I also would like to contribute this trivial patch to study Theia development.
like-fill
1
Cool, sure. Go ahead.
Hi, Kitta, I just submitted pull request:
Please help to review, Thanks.
Edited