~edoardo-batini/zanstaen/main

« back to all changes in this revision

Viewing changes to tests/check_permissions.sh

  • Committer: Edoardo Batini
  • Date: 2008-04-29 14:12:11 UTC
  • Revision ID: eodbat@gmail.com-20080429141211-3auvwl4b3tl3nx2x
- Created client skeleton
- Started working on install scripts
- Server communicates with django through xmlrpc function calls, no pickles.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
if [ `ls -l ../server/pickles/all_userhosts.pickle | cut -d' ' -f1` = "-rw-rw-rw-" ]
 
4
then
 
5
    echo '\nOK: all_userhosts.pickle has right permissions.\n'
 
6
else
 
7
    echo '\nERROR: all_userhosts.pickle has wrong permissions.\n'
 
8
fi
 
9
exit 0
 
 
b'\\ No newline at end of file'