Diff

Differences From Artifact [ca14ca67ab]:

To Artifact [9ba44d8408]:


   805    805   							array set retval [list type directory]
   806    806   						}
   807    807   
   808    808   						::appfs::db eval {SELECT type, time, source, size, perms FROM files WHERE package_sha1 = $pathinfo(package_sha1) AND file_directory = $directory AND file_name = $file;} retval {}
   809    809   
   810    810   						# Allow an administrator to supply additional permissions to remote files
   811    811   						if {[info exists retval(perms)]} {
          812  +							# Lower case this in case an upper-cased value was put in
          813  +							# the database before we started lowercasing them
          814  +							set retval(perms) [string tolower $retval(perms)]
          815  +
   812    816   							set retval(perms) [::appfs::user::change_perms $path $retval(perms)]
   813    817   						}
   814    818   
   815    819   						if {[info exists retval(type)] && $retval(type) == "directory"} {
   816    820   							set retval(childcount) [llength [getchildren $path]]
   817    821   						}
   818    822