Ticket #31: toolset.patch
File toolset.patch, 606 bytes (added by desai, 17 years ago) |
---|
-
src/lib/Client/Toolset.py
5 5 from stat import S_IWGRP, S_IRGRP, S_IXOTH, S_IWOTH, S_IROTH, ST_MODE, S_ISDIR 6 6 from stat import S_IFREG, ST_UID, ST_GID, S_ISREG, S_IFDIR, S_ISLNK 7 7 8 import binascii, copy, grp, logging, lxml.etree, os, popen2, pwd, stat 8 import binascii, copy, grp, logging, lxml.etree, os, popen2, pwd, stat, sys 9 9 10 10 def calcPerms(initial, perms): 11 11 '''This compares ondisk permissions with specified ones'''