MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000757General public affairs(No Category)public2015-07-28 12:502015-07-28 12:50
Reportertumarkin 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
StatusnewResolutionopen 
ProjectionnoneETAnone 
Platformx86_64OSGNU/Linux 3.13.0-57-genericOS VersionUbuntu 14.04
Summary0000757: Tabs in incrontab lead to command name be replaced with 0
DescriptionWhen using tabs in incrontab, after saving the incrontab the command will be replaced with a 0.
Additional InformationHere is the strace log:
stat("/tmp/incron.table-1V3rnc", {st_mode=S_IFREG|0600, st_size=410, ...}) = 0
open("/tmp/incron.table-1V3rnc", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=410, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4b48eeb000
read(3, "/etc\t\t\t\t\t\tIN_MODIFY,IN_CLOSE_WRITE /root/bin/ibackup.sh $@/$#\n/etc/apache2\t\t\t\t\tIN_MODIFY,IN_CLOSE_WRITE /root/bin/ibackup.sh $@/$#\n/etc/apache2/sites-available\t\t\tIN_MODIFY,IN_CLOSE_WRITE /root/bin/ibackup.sh $@/$#\n/var/lib/tomcat7/webapps/ROOT/WEB-INF/web.xml\tIN_MODIFY,IN_CLOSE_WRITE /root/bin/ibackup.sh $@/$#\n/var/lib/tomcat7/webapps/ROOT/WEB-INF/config\tIN_MODIFY,IN_CLOSE_WRITE /root/bin/ibackup.sh $@/$#\n\n", 4096) = 410
read(3, "", 4096) = 0
close(3) = 0
munmap(0x7f4b48eeb000, 4096) = 0
open("/var/spool/incron/root", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 3
fstat(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f4b48eeb000
write(3, "/etc\t\t\t\t\t\tIN_MODIFY,IN_CLOSE_WRITE 0 $@/$#\n/etc/apache2\t\t\t\t\tIN_MODIFY,IN_CLOSE_WRITE 0 $@/$#\n/etc/apache2/sites-available\t\t\tIN_MODIFY,IN_CLOSE_WRITE 0 $@/$#\n/var/lib/tomcat7/webapps/ROOT/WEB-INF/web.xml\tIN_MODIFY,IN_CLOSE_WRITE 0 $@/$#\n/var/lib/tomcat7/webapps/ROOT/WEB-INF/config\tIN_MODIFY,IN_CLOSE_WRITE 0 $@/$#\n", 314) = 314
close(3) = 0
munmap(0x7f4b48eeb000, 4096) = 0
chmod("/var/spool/incron/root", 0600) = 0
write(2, "table updated\n", 14) = 14
unlink("/tmp/incron.table-1V3rnc") = 0
exit_group(0) = ?
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2015-07-28 12:50 tumarkin New Issue


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker