Use the KISS phylosophy, something like that should do the work: Code: #!/bin/sh chmod 666 /path/to/file.db exit 0
#!/bin/sh chmod 666 /path/to/file.db exit 0