This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rsync -avh --delete --stats --progress /media/original/ /media/target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Don't forget to use the correct user:group and permissions. | |
find . -print0 | xargs --null chown server:server | |
chmod for directories: | |
find . -type d -print0 | xargs --null chmod -R 755 | |
chmod for files: | |
find . -type f -print0 | xargs --null chmod -R 755 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Getting "Groovyc: 'return' is not allowed in object initializer"? | |
You forgot a pair of parenthesis. | |
The following code | |
public List getImportedClasses | |
{ | |
return imports | |
} | |
is not valid in Groovy or Java. Add the pair of parenthesis: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In my setup, /var/lib/backuppc is a soft link to a directory on a different filesystem, lets say /backup | |
Problem one: could not start the service | |
Solved by setting | |
chmod g+s /backup | |
chown -R backuppc /backup | |
Problem two: web interface would not come up | |
Solved by running (as root): |
OlderNewer