File: perm_dummy_module.py

package info (click to toggle)
pyftpd 0.8.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 524 kB
  • ctags: 448
  • sloc: python: 2,748; sh: 80; makefile: 43
file content (5 lines) | stat: -rw-r--r-- 127 bytes parent folder | download | duplicates (5)
1
2
3
4
5
#dummy permission, always accept

def permcheck(f, user, group, ip, operation): # check permissions of file f
    return 1, 1