Opened 3 years ago

Closed 3 years ago

#753 closed defect (fixed)

rasql should check for write permissions

Reported by: dmisev Owned by: uadhikari
Priority: minor Milestone: 9.0.x
Component: applications Version: development
Keywords: Cc:
Complexity: Trivial

Description (last modified by dmisev)

Before trying to write a file, right now it segfaults if it doesn't have write permissions. It should throw an appropriate exception instead. The relevant code is in source:application/rasql/rasql.cc (function printResult)

To reproduce:

cd /
rasql -q 'select r from rgb as r' --out file

Change History (4)

comment:1 Changed 3 years ago by dmisev

  • Description modified (diff)

comment:2 Changed 3 years ago by dmisev

  • Description modified (diff)

comment:4 Changed 3 years ago by uadhikari

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.