Mantis BugTracker for CapiSuite
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000050 [CapiSuite] scripts minor always 2003-10-28 13:46 2003-10-28 14:02
Reporter cibi View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version
Summary 0000050: fax-nextnr is create with root permissions with csfax -u option
Description When capisuitefax is called as root with the option -u <user>, and not "fax-nextnr" exists in the sendq, the file will created with root only write permissions (and root:root as owner).
Example:
capisuitefax -u gernot -d 99999 test.ps
-> /sendq/fax-nextnr will be created with root:root 644
if you now try to send a fax logged in as the user,
capisuitefax (cs_helpers.uniqueName(...)) can't write to fax-nextnr.
Additional Information
Attached Files

- Relationships

- Notes
(0000074)
cibi
2003-10-28 14:02

On solution would be, to add a user param to cs_helpers.uniqueName(...).
And then use os.chown() - but as os.chown() only accepts numeric ids, pwd.getpwnam() must also be called.
---
it should be " fax-nextnr is created with root permissions..."
"...and no "fax-nextnr" exists..."
 

- Issue History
Date Modified Username Field Change


Mantis 0.19.2
Copyright © 2000 - 2004 Mantis Group
123 total queries executed.
19 unique queries executed.