Opened 11 years ago

Closed 10 years ago

#753 closed defect (fixed)

rasql should check for write permissions

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

Description (last modified by Dimitar Misev)

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 by Dimitar Misev, 11 years ago

Description: modified (diff)

comment:2 by Dimitar Misev, 11 years ago

Description: modified (diff)

comment:4 by uadhikari, 10 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.